Skip to content

Commit

Permalink
Add testcase for whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 12, 2022
1 parent e849da1 commit 1e5abb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Assert/DateTimeTest.php
Expand Up @@ -61,6 +61,7 @@ public function provideDateTime(): array
'offset' => [true, '2016-07-27T19:30:00+05:00'],
'zulu' => [true, '2016-07-27T19:30:00Z'],
'bogus' => [false, '&*$(#&^@!(^%$'],
'whitespace' => [false, ' '],
];
}

Expand All @@ -76,6 +77,7 @@ public function provideDateTimeZulu(): array
'sub-second offset' => [false, '2016-07-27T19:30:00.123+05:00'],
'offset' => [false, '2016-07-27T19:30:00+05:00'],
'bogus' => [false, '&*$(#&^@!(^%$'],
'whitespace' => [false, ' '],
];
}
}

0 comments on commit 1e5abb2

Please sign in to comment.