Switched from using QUnit's isObj/isSet to the more robust same method.
[jquery.git] / test / unit / data.js
index 8401fce..d21ec32 100644 (file)
@@ -50,7 +50,7 @@ test(".data()", function() {
 \r
        var div = jQuery("#foo");\r
        div.data("test", "success");\r
-       isObj( div.data(), {test: "success"}, "data() get the entire data object" )\r
+       same( div.data(), {test: "success"}, "data() get the entire data object" )\r
 })\r
 \r
 test(".data(String) and .data(String, Object)", function() {\r