diff options
Diffstat (limited to 'datetime/test.ts')
| -rw-r--r-- | datetime/test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datetime/test.ts b/datetime/test.ts index 5bc7eda21..ce8193dfb 100644 --- a/datetime/test.ts +++ b/datetime/test.ts @@ -31,7 +31,7 @@ test(function parseDateTime() { test(function invalidParseDateTimeFormatThrows() { try { (datetime as any).parseDateTime("2019-01-01 00:00", "x-y-z"); - assert(false, 'no exception was thrown'); + assert(false, "no exception was thrown"); } catch (e) { assertEqual(e.message, "Invalid datetime format!"); } @@ -55,7 +55,7 @@ test(function parseDate() { test(function invalidParseDateFormatThrows() { try { (datetime as any).parseDate("2019-01-01", "x-y-z"); - assert(false, 'no exception was thrown'); + assert(false, "no exception was thrown"); } catch (e) { assertEqual(e.message, "Invalid date format!"); } |
