diff options
Diffstat (limited to 'flags/tests/stop_early.ts')
-rwxr-xr-x | flags/tests/stop_early.ts | 4 |
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 }); |