summaryrefslogtreecommitdiff
path: root/datetime/test.ts
diff options
context:
space:
mode:
author木杉 <zhmushan@qq.com>2019-01-21 23:35:07 +0800
committerRyan Dahl <ry@tinyclouds.org>2019-01-21 09:35:07 -0600
commitd710f9427af35363fb7f9b82d09eae5bd8342a63 (patch)
tree62846aa4ebbc234434105c868dfa24ee1f77ff90 /datetime/test.ts
parent52fdf581a8dae226da7a7d5eae4498071a98eed2 (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.ts4
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!");
}