Skip to content

Commit

Permalink
Fix comment style.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 16, 2016
1 parent 1c1320d commit 9899909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/Validation/ValidationTest.php
Expand Up @@ -1564,7 +1564,7 @@ public function testLocalizedTime()
$this->assertFalse(Validation::localizedTime('', 'date'));
$this->assertFalse(Validation::localizedTime('invalid', 'date'));

/* English (US) */
// English (US)
I18N::locale('en_US');
$this->assertTrue(Validation::localizedTime('12/31/2006', 'date'));
$this->assertTrue(Validation::localizedTime('6.40pm', 'time'));
Expand All @@ -1574,15 +1574,15 @@ public function testLocalizedTime()
$this->assertFalse(Validation::localizedTime('31. Dezember 2006', 'date')); // non-US format
$this->assertFalse(Validation::localizedTime('18:40', 'time')); // non-US format

/* German */
// German
I18N::locale('de_DE');
$this->assertTrue(Validation::localizedTime('31.12.2006', 'date'));
$this->assertTrue(Validation::localizedTime('31. Dezember 2006', 'date'));
$this->assertTrue(Validation::localizedTime('18:40', 'time'));

$this->assertFalse(Validation::localizedTime('December 31, 2006', 'date')); // non-German format

/* Russian */
// Russian
I18N::locale('ru_RU');
$this->assertTrue(Validation::localizedTime('31 декабря 2006', 'date'));

Expand Down

0 comments on commit 9899909

Please sign in to comment.