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

This commit is contained in:
Richard Worth
2008-06-21 10:10:23 +00:00
parent cad08b6315
commit f3000e3506

View File

@@ -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);