summaryrefslogtreecommitdiff
path: root/std/flags/all_bool_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/flags/all_bool_test.ts')
-rwxr-xr-xstd/flags/all_bool_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/std/flags/all_bool_test.ts b/std/flags/all_bool_test.ts
index d738d1afc..6516f48ed 100755
--- a/std/flags/all_bool_test.ts
+++ b/std/flags/all_bool_test.ts
@@ -1,10 +1,9 @@
// 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";
// flag boolean true (default all --args to boolean)
-test(function flagBooleanTrue(): void {
+Deno.test(function flagBooleanTrue(): void {
const argv = parse(["moo", "--honk", "cow"], {
boolean: true
});
@@ -18,7 +17,7 @@ test(function flagBooleanTrue(): void {
});
// flag boolean true only affects double hyphen arguments without equals signs
-test(function flagBooleanTrueOnlyAffectsDoubleDash(): void {
+Deno.test(function flagBooleanTrueOnlyAffectsDoubleDash(): void {
const argv = parse(["moo", "--honk", "cow", "-p", "55", "--tacos=good"], {
boolean: true
});