mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 07:55:21 -05:00
Tests: Provide equal() arguments in correct order (actual, expected)
Ref224271982eReff5bf9bc488(cherry picked from commitd3d8d9751f) Conflicts: test/unit/data.js
This commit is contained in:
@@ -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 ] ) {
|
||||
|
||||
Reference in New Issue
Block a user