summaryrefslogtreecommitdiff
path: root/std/log/mod_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/log/mod_test.ts')
-rw-r--r--std/log/mod_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/std/log/mod_test.ts b/std/log/mod_test.ts
index 21b944fb5..98ac093c8 100644
--- a/std/log/mod_test.ts
+++ b/std/log/mod_test.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-const { test } = Deno;
import { assert, assertEquals } from "../testing/asserts.ts";
import { getLogger, debug, info, warning, error, critical } from "./mod.ts";
import { Logger } from "./logger.ts";
@@ -13,11 +12,11 @@ try {
// Pass
}
-test("logger is initialized", function (): void {
+Deno.test("logger is initialized", function (): void {
assert(logger instanceof Logger);
});
-test("default loggers work as expected", function (): void {
+Deno.test("default loggers work as expected", function (): void {
const sym = Symbol("a");
const debugData: string = debug("foo");
const debugResolver: string | undefined = debug(() => "foo");