Browse Source

semis

pull/427/merge
David DeSandro 8 years ago
parent
commit
887570e5e0
  1. 4
      test/unit/sorting.js

4
test/unit/sorting.js

@ -65,11 +65,11 @@ QUnit.test( 'sorting', function( assert ) {
sortBy: [ 'axis' ] sortBy: [ 'axis' ]
}); });
iso.arrange({ sortBy: 'number' }) iso.arrange({ sortBy: 'number' });
assert.equal( getItemsText( iso ), 'B1X,A1X,B1Y,A1Y,B2X,A2X,B2Y,A2Y', assert.equal( getItemsText( iso ), 'B1X,A1X,B1Y,A1Y,B2X,A2X,B2Y,A2Y',
'sort history 1' ); 'sort history 1' );
iso.arrange({ sortBy: 'letter' }) iso.arrange({ sortBy: 'letter' });
assert.equal( getItemsText( iso ), 'A1X,A1Y,A2X,A2Y,B1X,B1Y,B2X,B2Y', assert.equal( getItemsText( iso ), 'A1X,A1Y,A2X,A2Y,B1X,B1Y,B2X,B2Y',
'sort history 2' ); 'sort history 2' );

Loading…
Cancel
Save