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.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/flags/tests/stop_early.ts b/flags/tests/stop_early.ts
index a47c9bd4a..62725e6cf 100755
--- a/flags/tests/stop_early.ts
+++ b/flags/tests/stop_early.ts
@@ -3,12 +3,12 @@ import { parse } from "../index.ts";
// stops parsing on the first non-option when stopEarly is set
test(function stopParsing() {
- const argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
- stopEarly: true
- });
+ const argv = parse(["--aaa", "bbb", "ccc", "--ddd"], {
+ stopEarly: true
+ });
- assertEqual(argv, {
- aaa: 'bbb',
- _: ['ccc', '--ddd']
- });
+ assertEqual(argv, {
+ aaa: "bbb",
+ _: ["ccc", "--ddd"]
+ });
});