aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index 00eb9b48e..7bd7d298f 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -884,6 +884,6 @@ QUnit.test( ".data(camelCase) retrieves hyphenated keys", function( assert ) {
var div = jQuery( "<div/>" );
- $.data( div[ 0 ], "data-test", "data" );
+ jQuery.data( div[ 0 ], "data-test", "data" );
assert.equal( div.data( "dataTest" ), "data" );
} );