summaryrefslogtreecommitdiff
path: root/std/flags/default_bool_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/flags/default_bool_test.ts')
-rwxr-xr-xstd/flags/default_bool_test.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/std/flags/default_bool_test.ts b/std/flags/default_bool_test.ts
index bf44f5b47..813b6870b 100755
--- a/std/flags/default_bool_test.ts
+++ b/std/flags/default_bool_test.ts
@@ -1,9 +1,8 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { parse } from "./mod.ts";
-test(function booleanDefaultTrue(): void {
+Deno.test(function booleanDefaultTrue(): void {
const argv = parse([], {
boolean: "sometrue",
default: { sometrue: true }
@@ -11,7 +10,7 @@ test(function booleanDefaultTrue(): void {
assertEquals(argv.sometrue, true);
});
-test(function booleanDefaultFalse(): void {
+Deno.test(function booleanDefaultFalse(): void {
const argv = parse([], {
boolean: "somefalse",
default: { somefalse: false }
@@ -19,7 +18,7 @@ test(function booleanDefaultFalse(): void {
assertEquals(argv.somefalse, false);
});
-test(function booleanDefaultNull(): void {
+Deno.test(function booleanDefaultNull(): void {
const argv = parse([], {
boolean: "maybe",
default: { maybe: null }