Skip to content
Permalink
Browse files

tests datepicker - added closure (for isolation in all.html)

  • Loading branch information
rdworth committed Jun 21, 2008
1 parent cad08b6 commit f3000e350661ec56c358b8a1ecd48e3957eaa440
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/datepicker.js
@@ -1,3 +1,8 @@
/*
* datepicker unit tests
*/
(function($) {

module('datepicker');

function equalsDate(d1, d2, message) {
@@ -590,3 +595,5 @@ test('formatDate', function() {
equals($.datepicker.formatDate('\'day\' d of MM (\'\'DD\'\'), yy', new Date(2001, 2 - 1, 3), settings),
'day 3 of Mon2 (\'Day7\'), 2001', 'Format date \'day\' d of MM (\'\'DD\'\'), yy with settings');
});

})(jQuery);

0 comments on commit f3000e3

Please sign in to comment.
You can’t perform that action at this time.