Add additional assertion to NodaTimeSplitterTest for more thorough type safety
This commit is contained in:
parent
7f342ed3c4
commit
83a557b989
|
@ -1024,6 +1024,7 @@ final class NodaTimeSplitterTest extends TestCase {
|
|||
|
||||
// Rewritten / 1950-60-as évek
|
||||
$output = NodaTimeSplitter::attempt_splitting("1400-1100 v. Chr.");
|
||||
self::assertNotEmpty($output);
|
||||
self::assertEquals('-1400', $output->start_year);
|
||||
self::assertEquals('-1400-01-01', $output->start_date);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user