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( "
" ); - $.data( div[ 0 ], "data-test", "data" ); + jQuery.data( div[ 0 ], "data-test", "data" ); assert.equal( div.data( "dataTest" ), "data" ); } );