From 4503a61ff10af737d385168479392a09fd63f7f5 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 8 Sep 2015 16:23:26 -0400 Subject: [PATCH] Tests: Provide equal() arguments in correct order (actual, expected) Ref 224271982eb9cd351d7db1b38c740b4e927e6f97 Ref f5bf9bc48897e3b8f050d87d02252c8be456044a (cherry picked from commit d3d8d9751f3d14a545b26cf820dc1f51896a7b50) Conflicts: test/unit/data.js --- test/unit/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/data.js b/test/unit/data.js index 20d7c27d0..0ccd8c96c 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -1129,7 +1129,7 @@ QUnit.test( ".data(prop) does not create expando", function( assert ) { div = jQuery( "
" ); 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 ] ) { -- 2.39.5