Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix whitespace

  • Loading branch information...
commit 43dc1ac1a465553a0e4cd3155e2dae2be2e57717 1 parent d3f4ad2
Jay Merrifield authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +5 5 tests/unit/datepicker/datepicker_options.js
10 tests/unit/datepicker/datepicker_options.js
@@ -325,7 +325,7 @@ test('minMax', function() {
325 325 expect( 19 );
326 326 var date,
327 327 inp = TestHelpers.datepicker.init('#inp'),
328   - dp = $('#ui-datepicker-div'),
  328 + dp = $('#ui-datepicker-div'),
329 329 lastYear = new Date(2007, 6 - 1, 4),
330 330 nextYear = new Date(2009, 6 - 1, 4),
331 331 minDate = new Date(2008, 2 - 1, 29),
@@ -406,10 +406,10 @@ test('minMax', function() {
406 406 inp.datepicker('option', {maxDate: null}).val('01/04/2009').datepicker('option', {minDate: minDate, maxDate: maxDate});
407 407 TestHelpers.datepicker.equalsDate(inp.datepicker('getDate'), maxDate, 'Min/max - setDate > max');
408 408
409   - inp.datepicker('option', {yearRange: '-0:+1'}).val('01/01/' + new Date().getFullYear());
410   - ok(dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - previous button disabled at 1/1/minYear");
411   - inp.datepicker("setDate", "12/30/" + new Date().getFullYear());
412   - ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - next button disabled at 12/30/maxYear");
  409 + inp.datepicker('option', {yearRange: '-0:+1'}).val('01/01/' + new Date().getFullYear());
  410 + ok(dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - previous button disabled at 1/1/minYear");
  411 + inp.datepicker("setDate", "12/30/" + new Date().getFullYear());
  412 + ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - next button disabled at 12/30/maxYear");
413 413 });
414 414
415 415 test('setDate', function() {

0 comments on commit 43dc1ac

Please sign in to comment.
Something went wrong with that request. Please try again.