Skip to content

Commit 4503a61

Browse files
committed
Tests: Provide equal() arguments in correct order (actual, expected)
Ref 2242719 Ref f5bf9bc (cherry picked from commit d3d8d97) Conflicts: test/unit/data.js
1 parent 5a7674d commit 4503a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ QUnit.test( ".data(prop) does not create expando", function( assert ) {
11291129
div = jQuery( "<div/>" );
11301130

11311131
div.data( "foo" );
1132-
assert.equal( false, jQuery.hasData( div[ 0 ] ) );
1132+
assert.equal( jQuery.hasData( div[ 0 ] ), false, "No data exists after access" );
11331133

11341134
// Make sure no expando has been added
11351135
for ( key in div[ 0 ] ) {

0 commit comments

Comments
 (0)