diff options
Diffstat (limited to 'std/flags/long_test.ts')
| -rwxr-xr-x | std/flags/long_test.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/std/flags/long_test.ts b/std/flags/long_test.ts index 7c19efaca..e5b68f8c0 100755 --- a/std/flags/long_test.ts +++ b/std/flags/long_test.ts @@ -1,9 +1,8 @@ // 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 longOpts(): void { +Deno.test(function longOpts(): void { assertEquals(parse(["--bool"]), { bool: true, _: [] }); assertEquals(parse(["--pow", "xixxle"]), { pow: "xixxle", _: [] }); assertEquals(parse(["--pow=xixxle"]), { pow: "xixxle", _: [] }); |
