Skip to content

Commit

Permalink
Tests: Provide equal() arguments in correct order (actual, expected)
Browse files Browse the repository at this point in the history
Ref 2242719
Ref f5bf9bc

(cherry picked from commit d3d8d97)

Conflicts:
	test/unit/data.js
  • Loading branch information
gibson042 committed Sep 8, 2015
1 parent 5a7674d commit 4503a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] ) {
Expand Down

0 comments on commit 4503a61

Please sign in to comment.