Datepicker: Fix a bad assertion - actual result is valid.

This commit is contained in:
Jörn Zaefferer 2012-02-28 15:45:24 +01:00
parent 6ba18b597a
commit e6b7486abf

View File

@ -559,7 +559,7 @@ test('autoSize', function() {
inp.datepicker('option', 'dateFormat', 'm/d/yy');
equals(inp.prop('size'), 10, 'Auto size - he - m/d/yy');
inp.datepicker('option', 'dateFormat', 'D M d yy');
equals(inp.prop('size'), 14, 'Auto size - he - D M d yy');
equals(inp.prop('size'), 16, 'Auto size - he - D M d yy');
inp.datepicker('option', 'dateFormat', 'DD, MM dd, yy');
equals(inp.prop('size'), 23, 'Auto size - he - DD, MM dd, yy');
});