diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-10-25 08:46:53 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-10-25 10:32:30 -0400 |
commit | 63d72536ba4f4031431dcf3984ebfbe9c90203f2 (patch) | |
tree | fb4700b3725349605e06cc502c1d8e07529a8e6e /test/unit | |
parent | b398a68333d5eb9859fabb1ceabe84a1a753760a (diff) | |
download | jquery-63d72536ba4f4031431dcf3984ebfbe9c90203f2.tar.gz jquery-63d72536ba4f4031431dcf3984ebfbe9c90203f2.zip |
Less deep and more strict.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/data.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/data.js b/test/unit/data.js index fec1d7865..3bec09ef8 100644 --- a/test/unit/data.js +++ b/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)" ); |