Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Less deep and more strict.

  • Loading branch information...
commit 63d72536ba4f4031431dcf3984ebfbe9c90203f2 1 parent b398a68
@rwaldron rwaldron authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/data.js
View
4 test/unit/data.js
@@ -681,8 +681,8 @@ test( "jQuery.fn.removeData supports interoperable removal of hyphenated propert
plain.data( "a-a", 1 );
plain.data( "b-b", 2 );
- deepEqual( plain.data( "a-a" ), 1, "plain.data('a-a') returns value that matches the manually set value (plain)" );
- deepEqual( plain.data( "b-b" ), 2, "plain.data('b-b') returns value that matches the manually set value (plain)" );
+ strictEqual( plain.data( "a-a" ), 1, "plain.data('a-a') returns value that matches the manually set value (plain)" );
+ strictEqual( plain.data( "b-b" ), 2, "plain.data('b-b') returns value that matches the manually set value (plain)" );
plain.removeData([ "a-a", "b-b" ]);
ok( jQuery.isEmptyObject( plain.data() ), "After removal by array of hyphenated keys, plain.data() returns an object with no properties (plain)" );
Please sign in to comment.
Something went wrong with that request. Please try again.