summaryrefslogtreecommitdiff
path: root/cli/tests/unit
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2023-12-02 13:20:06 +1100
committerGitHub <noreply@github.com>2023-12-02 03:20:06 +0100
commitd2b5254c33e1cc0e686b38755b439e1df292d38e (patch)
treeff7c097b3bbcf37d5fd18b820b905c3ab9a2f8dc /cli/tests/unit
parentec0207e9b1cd61d2c14e36df43f56aa0bea56222 (diff)
chore: update std to 0.208.0 (#21318)
Re-attempt at #21284. I was more thorough this time. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'cli/tests/unit')
-rw-r--r--cli/tests/unit/broadcast_channel_test.ts2
-rw-r--r--cli/tests/unit/message_channel_test.ts5
-rw-r--r--cli/tests/unit/opcall_test.ts2
-rw-r--r--cli/tests/unit/serve_test.ts2
-rw-r--r--cli/tests/unit/test_util.ts2
5 files changed, 5 insertions, 8 deletions
diff --git a/cli/tests/unit/broadcast_channel_test.ts b/cli/tests/unit/broadcast_channel_test.ts
index fecb26b16..f8b0ef933 100644
--- a/cli/tests/unit/broadcast_channel_test.ts
+++ b/cli/tests/unit/broadcast_channel_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-import { assertEquals } from "../../../test_util/std/testing/asserts.ts";
+import { assertEquals } from "../../../test_util/std/assert/mod.ts";
Deno.test("BroadcastChannel worker", async () => {
const intercom = new BroadcastChannel("intercom");
diff --git a/cli/tests/unit/message_channel_test.ts b/cli/tests/unit/message_channel_test.ts
index 8872fc68b..306d89730 100644
--- a/cli/tests/unit/message_channel_test.ts
+++ b/cli/tests/unit/message_channel_test.ts
@@ -1,10 +1,7 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// NOTE: these are just sometests to test the TypeScript types. Real coverage is
// provided by WPT.
-import {
- assert,
- assertEquals,
-} from "../../../test_util/std/testing/asserts.ts";
+import { assert, assertEquals } from "../../../test_util/std/assert/mod.ts";
Deno.test("messagechannel", async () => {
const mc = new MessageChannel();
diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts
index fb269fc32..d2c65440c 100644
--- a/cli/tests/unit/opcall_test.ts
+++ b/cli/tests/unit/opcall_test.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-import { assertEquals } from "../../../test_util/std/testing/asserts.ts";
+import { assertEquals } from "../../../test_util/std/assert/mod.ts";
import { assert, assertStringIncludes, unreachable } from "./test_util.ts";
Deno.test(async function sendAsyncStackTrace() {
diff --git a/cli/tests/unit/serve_test.ts b/cli/tests/unit/serve_test.ts
index f99b09377..7e94ceb96 100644
--- a/cli/tests/unit/serve_test.ts
+++ b/cli/tests/unit/serve_test.ts
@@ -3,7 +3,7 @@
import {
assertMatch,
assertRejects,
-} from "../../../test_util/std/testing/asserts.ts";
+} from "../../../test_util/std/assert/mod.ts";
import { Buffer, BufReader, BufWriter } from "../../../test_util/std/io/mod.ts";
import { TextProtoReader } from "../testdata/run/textproto.ts";
import {
diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts
index c7dc9e80b..3cd1dde38 100644
--- a/cli/tests/unit/test_util.ts
+++ b/cli/tests/unit/test_util.ts
@@ -19,7 +19,7 @@ export {
fail,
unimplemented,
unreachable,
-} from "../../../test_util/std/testing/asserts.ts";
+} from "../../../test_util/std/assert/mod.ts";
export { delay } from "../../../test_util/std/async/delay.ts";
export { readLines } from "../../../test_util/std/io/read_lines.ts";
export { parse as parseArgs } from "../../../test_util/std/flags/mod.ts";