diff options
Diffstat (limited to 'tests/selectable.js')
-rw-r--r-- | tests/selectable.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/selectable.js b/tests/selectable.js index 267b88931..1d0ea53d4 100644 --- a/tests/selectable.js +++ b/tests/selectable.js @@ -79,10 +79,8 @@ test("defaults", function() { filter: '*' }; $.each(defaults, function(key, val) { - var actual = el.data(key + ".selectable"), expected = val, - method = (expected && expected.constructor == Object) ? - compare2 : equals; - method(actual, expected, key); + var actual = el.data(key + ".selectable"), expected = val; + same(actual, expected, key); }); el.remove(); }); |