summaryrefslogtreecommitdiff
path: root/flags/tests/stop_early.ts
diff options
context:
space:
mode:
Diffstat (limited to 'flags/tests/stop_early.ts')
-rwxr-xr-xflags/tests/stop_early.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/flags/tests/stop_early.ts b/flags/tests/stop_early.ts
index 2a62008b7..a47c9bd4a 100755
--- a/flags/tests/stop_early.ts
+++ b/flags/tests/stop_early.ts
@@ -1,9 +1,9 @@
import { test, assertEqual } from "https://deno.land/x/testing/testing.ts";
-import parseArgs from "../index.ts";
+import { parse } from "../index.ts";
// stops parsing on the first non-option when stopEarly is set
test(function stopParsing() {
- const argv = parseArgs(['--aaa', 'bbb', 'ccc', '--ddd'], {
+ const argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
stopEarly: true
});