diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:32:42 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:32:42 +0000 |
commit | b6cb342c6595e086305a0f8efa93c48280f4806e (patch) | |
tree | 710a0d113e3bcbdad452ef2ffc8ea9c978aa289a /tests/selectable.js | |
parent | 59109b7894a3e6d203c7c711984860def740cff3 (diff) | |
download | jquery-ui-b6cb342c6595e086305a0f8efa93c48280f4806e.tar.gz jquery-ui-b6cb342c6595e086305a0f8efa93c48280f4806e.zip |
updating tests to latest QUnit, using same, fixing a few assertions that relied on type casting (mostly null/undefined)
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(); }); |