Skip to content

Commit

Permalink
updating tests to latest QUnit, using same, fixing a few assertions t…
Browse files Browse the repository at this point in the history
…hat relied on type casting (mostly null/undefined)
  • Loading branch information
jzaefferer committed Oct 13, 2008
1 parent b6cb342 commit 2827a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/datepicker.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function equalsDateArray(a1, a2, message) {
a1[1] = (a1[1] ? new Date(a1[1].getFullYear(), a1[1].getMonth(), a1[1].getDate()) : ''); 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[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()) : ''); 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) { function init(id, options) {
Expand Down

0 comments on commit 2827a42

Please sign in to comment.