diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-03-06 22:39:50 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-06 16:39:50 -0500 |
| commit | e36edfdb3fd4709358a5f499f13cfe3d53c2b4f7 (patch) | |
| tree | 1baef3f876a5e75288c3ec9056cdb93dd6b5787f /flags/tests/stop_early.ts | |
| parent | d29957ad17956016c35a04f5f1f98565e58e8a2e (diff) | |
Testing refactor (denoland/deno_std#240)
Original: https://github.com/denoland/deno_std/commit/e1d5c00279132aa639030c6c6d9b4e308bd4775e
Diffstat (limited to 'flags/tests/stop_early.ts')
| -rwxr-xr-x | flags/tests/stop_early.ts | 5 |
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"] }); |
