Permalink
Browse files

Less deep and more strict.

  • Loading branch information...
1 parent b398a68 commit 63d72536ba4f4031431dcf3984ebfbe9c90203f2 @rwaldron rwaldron committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/data.js
View
@@ -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)" );

0 comments on commit 63d7253

Please sign in to comment.