diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 17:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 17:24:27 +0100 |
commit | 61273085e40fb4d992eef4b1b5601e3567c80664 (patch) | |
tree | 1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/log | |
parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/log')
-rw-r--r-- | std/log/handlers_test.ts | 2 | ||||
-rw-r--r-- | std/log/logger_test.ts | 2 | ||||
-rw-r--r-- | std/log/test.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/std/log/handlers_test.ts b/std/log/handlers_test.ts index bfba4f840..693d2a485 100644 --- a/std/log/handlers_test.ts +++ b/std/log/handlers_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assertEquals } from "../testing/asserts.ts"; import { LogLevel, getLevelName, getLevelByName } from "./levels.ts"; import { BaseHandler } from "./handlers.ts"; diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts index 2385ac378..76ff4cf95 100644 --- a/std/log/logger_test.ts +++ b/std/log/logger_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assertEquals } from "../testing/asserts.ts"; import { LogRecord, Logger } from "./logger.ts"; import { LogLevel } from "./levels.ts"; diff --git a/std/log/test.ts b/std/log/test.ts index a970d10ba..d4385968c 100644 --- a/std/log/test.ts +++ b/std/log/test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assertEquals } from "../testing/asserts.ts"; import * as log from "./mod.ts"; import { LogLevel } from "./levels.ts"; |