Changed selectNodes test to desired behavior (which fails atm)

Change-Id: I79eb5caaa3e2193e2309d37dc1d0ca67c2602836
This commit is contained in:
Trevor Parscal 2012-05-07 15:50:11 -07:00
parent f4fcf9663e
commit e1f8fef228

View file

@ -28,8 +28,8 @@ test( 'selectNodes', 7, function() {
ve.dm.example.nodeSelectionEqual(
doc.selectNodes( new ve.Range( 0, 10 ) ),
[
// heading
{ 'node': lookup( documentNode, 0 ) },
// heading/text
{ 'node': lookup( documentNode, 0, 0 ) },
// table/row/cell/paragraph/text
{ 'node': lookup( documentNode, 1, 0, 0, 0, 0 ), 'range': new ve.Range( 9, 10 ) }
]