diff options
| author | 木杉 <zhmushan@qq.com> | 2019-01-21 23:35:07 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-21 09:35:07 -0600 |
| commit | d710f9427af35363fb7f9b82d09eae5bd8342a63 (patch) | |
| tree | 62846aa4ebbc234434105c868dfa24ee1f77ff90 /datetime/test.ts | |
| parent | 52fdf581a8dae226da7a7d5eae4498071a98eed2 (diff) | |
fix format (denoland/deno_std#140)
Original: https://github.com/denoland/deno_std/commit/61a3911be7e01273e13bf35a3a16285f413f0b70
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!"); } |
