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