diff options
Diffstat (limited to 'std/flags/kv_short_test.ts')
| -rwxr-xr-x | std/flags/kv_short_test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/std/flags/kv_short_test.ts b/std/flags/kv_short_test.ts index e5aec0fd2..050e550e3 100755 --- a/std/flags/kv_short_test.ts +++ b/std/flags/kv_short_test.ts @@ -1,14 +1,13 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; -test(function short(): void { +Deno.test(function short(): void { const argv = parse(["-b=123"]); assertEquals(argv, { b: 123, _: [] }); }); -test(function multiShort(): void { +Deno.test(function multiShort(): void { const argv = parse(["-a=whatever", "-b=robots"]); assertEquals(argv, { a: "whatever", b: "robots", _: [] }); }); |
