From 63d72536ba4f4031431dcf3984ebfbe9c90203f2 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 25 Oct 2012 08:46:53 -0400 Subject: [PATCH] Less deep and more strict. --- test/unit/data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/data.js b/test/unit/data.js index fec1d78658..3bec09ef8e 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)" );