summaryrefslogtreecommitdiff
path: root/flags/tests/stop_early.ts
diff options
context:
space:
mode:
Diffstat (limited to 'flags/tests/stop_early.ts')
-rwxr-xr-xflags/tests/stop_early.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/flags/tests/stop_early.ts b/flags/tests/stop_early.ts
index 5e171accd..5f320e8b8 100755
--- a/flags/tests/stop_early.ts
+++ b/flags/tests/stop_early.ts
@@ -1,5 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { test, assertEqual } from "../../testing/mod.ts";
+import { test } from "../../testing/mod.ts";
+import { assertEq } from "../../testing/asserts.ts";
import { parse } from "../mod.ts";
// stops parsing on the first non-option when stopEarly is set
@@ -8,7 +9,7 @@ test(function stopParsing() {
stopEarly: true
});
- assertEqual(argv, {
+ assertEq(argv, {
aaa: "bbb",
_: ["ccc", "--ddd"]
});