diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:42:12 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:42:12 +0000 |
commit | 2827a42c448f89423079c25fd8314e97840c8668 (patch) | |
tree | 64094443532f5dd1940f42995039dc6f9357cd3d | |
parent | b6cb342c6595e086305a0f8efa93c48280f4806e (diff) | |
download | jquery-ui-2827a42c448f89423079c25fd8314e97840c8668.tar.gz jquery-ui-2827a42c448f89423079c25fd8314e97840c8668.zip |
updating tests to latest QUnit, using same, fixing a few assertions that relied on type casting (mostly null/undefined)
-rw-r--r-- | tests/datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/datepicker.js b/tests/datepicker.js index 9e067a3b3..4aa6478d1 100644 --- a/tests/datepicker.js +++ b/tests/datepicker.js @@ -24,7 +24,7 @@ function equalsDateArray(a1, a2, message) { a1[1] = (a1[1] ? new Date(a1[1].getFullYear(), a1[1].getMonth(), a1[1].getDate()) : ''); a2[0] = (a2[0] ? new Date(a2[0].getFullYear(), a2[0].getMonth(), a2[0].getDate()) : ''); a2[1] = (a2[1] ? new Date(a2[1].getFullYear(), a2[1].getMonth(), a2[1].getDate()) : ''); - equals(serialArray(a1), serialArray(a2), message); + same(a1, a2, message); } function init(id, options) { |