diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-10-28 03:24:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 01:24:37 +0000 |
commit | e7abb705f96fab85ee2e9dd09b10902e10350d4a (patch) | |
tree | c0cbbba8406d4eab4f508b79202de2bc587b68da /cli/tests/unit | |
parent | 4c6b986f17ff482052793c821d2901699ddc0804 (diff) |
Revert "chore: update deno_std submodule (#20994)" (#21001)
This reverts commit 6e2abb2b13af5dff5d631fb1bc0c279c49ebd066.
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/broadcast_channel_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/message_channel_test.ts | 5 | ||||
-rw-r--r-- | cli/tests/unit/opcall_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/serve_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/test_util.ts | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/cli/tests/unit/broadcast_channel_test.ts b/cli/tests/unit/broadcast_channel_test.ts index f18934278..b13a47574 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/assert/mod.ts"; +import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; import { deferred } from "../../../test_util/std/async/deferred.ts"; Deno.test("BroadcastChannel worker", async () => { diff --git a/cli/tests/unit/message_channel_test.ts b/cli/tests/unit/message_channel_test.ts index a3fc94c79..35b7c47c4 100644 --- a/cli/tests/unit/message_channel_test.ts +++ b/cli/tests/unit/message_channel_test.ts @@ -1,7 +1,10 @@ // 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/assert/mod.ts"; +import { + assert, + assertEquals, +} from "../../../test_util/std/testing/asserts.ts"; import { deferred } from "../../../test_util/std/async/deferred.ts"; Deno.test("messagechannel", async () => { diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts index d2c65440c..fb269fc32 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/assert/mod.ts"; +import { assertEquals } from "../../../test_util/std/testing/asserts.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 49f8c1f2d..2e560af99 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/assert/mod.ts"; +} from "../../../test_util/std/testing/asserts.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 2061f859e..de1e8e8c5 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -18,7 +18,7 @@ export { fail, unimplemented, unreachable, -} from "../../../test_util/std/assert/mod.ts"; +} from "../../../test_util/std/testing/asserts.ts"; export { deferred } from "../../../test_util/std/async/deferred.ts"; export type { Deferred } from "../../../test_util/std/async/deferred.ts"; export { delay } from "../../../test_util/std/async/delay.ts"; |