Tests: Provide equal() arguments in correct order (actual, expected)

Ref 224271982e
Ref f5bf9bc488

(cherry picked from commit d3d8d9751f)

Conflicts:
	test/unit/data.js
This commit is contained in:
Richard Gibson
2015-09-08 16:23:26 -04:00
parent 5a7674d635
commit 4503a61ff1

View File

@@ -1129,7 +1129,7 @@ QUnit.test( ".data(prop) does not create expando", function( assert ) {
div = jQuery( "<div/>" );
div.data( "foo" );
assert.equal( false, jQuery.hasData( div[ 0 ] ) );
assert.equal( jQuery.hasData( div[ 0 ] ), false, "No data exists after access" );
// Make sure no expando has been added
for ( key in div[ 0 ] ) {