summaryrefslogtreecommitdiff
path: root/std/flags/stop_early_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/flags/stop_early_test.ts')
-rwxr-xr-xstd/flags/stop_early_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/flags/stop_early_test.ts b/std/flags/stop_early_test.ts
index f054d780b..d1996e7aa 100755
--- a/std/flags/stop_early_test.ts
+++ b/std/flags/stop_early_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";
// stops parsing on the first non-option when stopEarly is set
-test(function stopParsing(): void {
+Deno.test(function stopParsing(): void {
const argv = parse(["--aaa", "bbb", "ccc", "--ddd"], {
stopEarly: true
});