diff options
Diffstat (limited to 'flags/tests/kv_short.ts')
| -rwxr-xr-x | flags/tests/kv_short.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/flags/tests/kv_short.ts b/flags/tests/kv_short.ts index 545f722bd..93aa76387 100755 --- a/flags/tests/kv_short.ts +++ b/flags/tests/kv_short.ts @@ -2,11 +2,11 @@ import { test, assertEqual } from "https://deno.land/x/testing/testing.ts"; import { parse } from "../index.ts"; test(function short() { - const argv = parse([ '-b=123' ]); - assertEqual(argv, { b: 123, _: [] }); + const argv = parse(["-b=123"]); + assertEqual(argv, { b: 123, _: [] }); }); test(function multiShort() { - const argv = parse([ '-a=whatever', '-b=robots' ]); - assertEqual(argv, { a: 'whatever', b: 'robots', _: [] }); + const argv = parse(["-a=whatever", "-b=robots"]); + assertEqual(argv, { a: "whatever", b: "robots", _: [] }); }); |
