Fix some gaps in the handling of event data properties. Thanks to @jitter in ff6ceadb...
[jquery.git] / test / unit / event.js
index b37b253..6f75322 100644 (file)
@@ -1838,7 +1838,7 @@ test("window resize", function() {
                ok( true, "Resize event fired." );
        }).resize().unbind("resize");
 
-       ok( !jQuery(window).data("events"), "Make sure all the events are gone." );
+       ok( !jQuery(window).data("__events__"), "Make sure all the events are gone." );
 });
 
 /*