aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2010-03-20 14:38:12 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2010-03-20 14:38:12 +0000
commitd7b1044d6cb9a599667bc0056a81fae86b63463a (patch)
tree9aa4e8330038643230956932ea5f72237c38099c /tests
parentedcd6823e2ecef94e9ef1e5e256df7ca813a4fbd (diff)
downloadjquery-ui-d7b1044d6cb9a599667bc0056a81fae86b63463a.tar.gz
jquery-ui-d7b1044d6cb9a599667bc0056a81fae86b63463a.zip
debug comment
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/datepicker/datepicker_tickets.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/datepicker/datepicker_tickets.js b/tests/unit/datepicker/datepicker_tickets.js
index cf9dcbc5e..85598f949 100644
--- a/tests/unit/datepicker/datepicker_tickets.js
+++ b/tests/unit/datepicker/datepicker_tickets.js
@@ -15,13 +15,16 @@ test('beforeShowDay-getDate', function() {
var inp = init('#inp', {beforeShowDay: function(date) { inp.datepicker('getDate'); return [true, '']; }});
var dp = $('#ui-datepicker-div');
inp.val('01/01/2010').datepicker('show');
+ // result has line-break instead of space inbetween, therefore comparsion fails
equals($('div.ui-datepicker-title').text(), 'January 2010', 'Initial month');
$('a.ui-datepicker-next', dp).click();
$('a.ui-datepicker-next', dp).click();
+ // fails, see above
equals($('div.ui-datepicker-title').text(), 'March 2010', 'After next clicks');
inp.datepicker('hide').datepicker('show');
$('a.ui-datepicker-prev', dp).click();
$('a.ui-datepicker-prev', dp).click();
+ // fails, see above
equals($('div.ui-datepicker-title').text(), 'November 2009', 'After prev clicks');
inp.datepicker('hide');
});