diff options
Diffstat (limited to 'flags/tests/all_bool.ts')
| -rwxr-xr-x | flags/tests/all_bool.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/flags/tests/all_bool.ts b/flags/tests/all_bool.ts index 7f19e5303..e88919378 100755 --- a/flags/tests/all_bool.ts +++ b/flags/tests/all_bool.ts @@ -1,6 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test } from "../../testing/mod.ts"; -import { assertEq } from "../../testing/asserts.ts"; +import { assertEquals } from "../../testing/asserts.ts"; import { parse } from "../mod.ts"; // flag boolean true (default all --args to boolean) @@ -9,12 +9,12 @@ test(function flagBooleanTrue() { boolean: true }); - assertEq(argv, { + assertEquals(argv, { honk: true, _: ["moo", "cow"] }); - assertEq(typeof argv.honk, "boolean"); + assertEquals(typeof argv.honk, "boolean"); }); // flag boolean true only affects double hyphen arguments without equals signs @@ -23,12 +23,12 @@ test(function flagBooleanTrueOnlyAffectsDoubleDash() { boolean: true }); - assertEq(argv, { + assertEquals(argv, { honk: true, tacos: "good", p: 55, _: ["moo", "cow"] }); - assertEq(typeof argv.honk, "boolean"); + assertEquals(typeof argv.honk, "boolean"); }); |
