]> source.dussan.org Git - jquery.git/commitdiff
Tests: Provide equal() arguments in correct order (actual, expected)
authorRichard Gibson <richard.gibson@gmail.com>
Tue, 8 Sep 2015 20:23:26 +0000 (16:23 -0400)
committerRichard Gibson <richard.gibson@gmail.com>
Tue, 8 Sep 2015 20:30:17 +0000 (16:30 -0400)
Ref 224271982eb9cd351d7db1b38c740b4e927e6f97
Ref f5bf9bc48897e3b8f050d87d02252c8be456044a

(cherry picked from commit d3d8d9751f3d14a545b26cf820dc1f51896a7b50)

Conflicts:
test/unit/data.js

test/unit/data.js

index 20d7c27d022deaa7186137c327172eb5781fd3aa..0ccd8c96c1eeaa369754a93ef7bd6e64e6358532 100644 (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 ] ) {