summaryrefslogtreecommitdiff
path: root/flags/tests/long.ts
diff options
context:
space:
mode:
Diffstat (limited to 'flags/tests/long.ts')
-rwxr-xr-xflags/tests/long.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/flags/tests/long.ts b/flags/tests/long.ts
index a67febe19..04f563d42 100755
--- a/flags/tests/long.ts
+++ b/flags/tests/long.ts
@@ -1,18 +1,18 @@
// 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";
test(function longOpts() {
- assertEq(parse(["--bool"]), { bool: true, _: [] });
- assertEq(parse(["--pow", "xixxle"]), { pow: "xixxle", _: [] });
- assertEq(parse(["--pow=xixxle"]), { pow: "xixxle", _: [] });
- assertEq(parse(["--host", "localhost", "--port", "555"]), {
+ assertEquals(parse(["--bool"]), { bool: true, _: [] });
+ assertEquals(parse(["--pow", "xixxle"]), { pow: "xixxle", _: [] });
+ assertEquals(parse(["--pow=xixxle"]), { pow: "xixxle", _: [] });
+ assertEquals(parse(["--host", "localhost", "--port", "555"]), {
host: "localhost",
port: 555,
_: []
});
- assertEq(parse(["--host=localhost", "--port=555"]), {
+ assertEquals(parse(["--host=localhost", "--port=555"]), {
host: "localhost",
port: 555,
_: []