diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2023-12-02 13:20:06 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-02 03:20:06 +0100 |
| commit | d2b5254c33e1cc0e686b38755b439e1df292d38e (patch) | |
| tree | ff7c097b3bbcf37d5fd18b820b905c3ab9a2f8dc /cli/tests/testdata/run | |
| parent | ec0207e9b1cd61d2c14e36df43f56aa0bea56222 (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/testdata/run')
| -rw-r--r-- | cli/tests/testdata/run/045_proxy_test.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/import_meta/main.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/onload/imported.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/onload/main.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/onload/nest_imported.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/tls_connecttls.js | 5 | ||||
| -rw-r--r-- | cli/tests/testdata/run/tls_starttls.js | 5 | ||||
| -rw-r--r-- | cli/tests/testdata/run/websocket_server_idletimeout.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/websocket_test.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/run/websocketstream_test.ts | 2 |
10 files changed, 10 insertions, 16 deletions
diff --git a/cli/tests/testdata/run/045_proxy_test.ts b/cli/tests/testdata/run/045_proxy_test.ts index 8ca733a94..eacce1130 100644 --- a/cli/tests/testdata/run/045_proxy_test.ts +++ b/cli/tests/testdata/run/045_proxy_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { Server } from "../../../../test_util/std/http/server.ts"; -import { assertEquals } from "../../../../test_util/std/testing/asserts.ts"; +import { assertEquals } from "../../../../test_util/std/assert/mod.ts"; const addr = Deno.args[1] || "localhost:4555"; diff --git a/cli/tests/testdata/run/import_meta/main.ts b/cli/tests/testdata/run/import_meta/main.ts index 0d7cb96da..b6d9c506e 100644 --- a/cli/tests/testdata/run/import_meta/main.ts +++ b/cli/tests/testdata/run/import_meta/main.ts @@ -1,4 +1,4 @@ -import { assertThrows } from "../../../../../test_util/std/testing/asserts.ts"; +import { assertThrows } from "../../../../../test_util/std/assert/mod.ts"; console.log("main", import.meta.url, import.meta.main); diff --git a/cli/tests/testdata/run/onload/imported.ts b/cli/tests/testdata/run/onload/imported.ts index f4157b86f..971ddaea3 100644 --- a/cli/tests/testdata/run/onload/imported.ts +++ b/cli/tests/testdata/run/onload/imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "../../../../../test_util/std/testing/asserts.ts"; +import { assert } from "../../../../../test_util/std/assert/mod.ts"; import "./nest_imported.ts"; const handler = (e: Event) => { diff --git a/cli/tests/testdata/run/onload/main.ts b/cli/tests/testdata/run/onload/main.ts index 126627e34..191c4d872 100644 --- a/cli/tests/testdata/run/onload/main.ts +++ b/cli/tests/testdata/run/onload/main.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix no-prototype-builtins -import { assert } from "../../../../../test_util/std/testing/asserts.ts"; +import { assert } from "../../../../../test_util/std/assert/mod.ts"; import "./imported.ts"; assert(window.hasOwnProperty("onload")); diff --git a/cli/tests/testdata/run/onload/nest_imported.ts b/cli/tests/testdata/run/onload/nest_imported.ts index a942d2729..e89699854 100644 --- a/cli/tests/testdata/run/onload/nest_imported.ts +++ b/cli/tests/testdata/run/onload/nest_imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "../../../../../test_util/std/testing/asserts.ts"; +import { assert } from "../../../../../test_util/std/assert/mod.ts"; const handler = (e: Event) => { assert(e.type === "beforeunload" ? e.cancelable : !e.cancelable); diff --git a/cli/tests/testdata/run/tls_connecttls.js b/cli/tests/testdata/run/tls_connecttls.js index bd1d41096..18a0783fc 100644 --- a/cli/tests/testdata/run/tls_connecttls.js +++ b/cli/tests/testdata/run/tls_connecttls.js @@ -1,7 +1,4 @@ -import { - assert, - assertEquals, -} from "../../../../test_util/std/testing/asserts.ts"; +import { assert, assertEquals } from "../../../../test_util/std/assert/mod.ts"; import { BufReader, BufWriter } from "../../../../test_util/std/io/mod.ts"; import { TextProtoReader } from "./textproto.ts"; diff --git a/cli/tests/testdata/run/tls_starttls.js b/cli/tests/testdata/run/tls_starttls.js index 4acc21461..3d84ac74a 100644 --- a/cli/tests/testdata/run/tls_starttls.js +++ b/cli/tests/testdata/run/tls_starttls.js @@ -1,7 +1,4 @@ -import { - assert, - assertEquals, -} from "../../../../test_util/std/testing/asserts.ts"; +import { assert, assertEquals } from "../../../../test_util/std/assert/mod.ts"; import { BufReader } from "../../../../test_util/std/io/buf_reader.ts"; import { BufWriter } from "../../../../test_util/std/io/buf_writer.ts"; import { TextProtoReader } from "./textproto.ts"; diff --git a/cli/tests/testdata/run/websocket_server_idletimeout.ts b/cli/tests/testdata/run/websocket_server_idletimeout.ts index b99c1a61f..fa267c41b 100644 --- a/cli/tests/testdata/run/websocket_server_idletimeout.ts +++ b/cli/tests/testdata/run/websocket_server_idletimeout.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "../../../../test_util/std/testing/asserts.ts"; +import { assertEquals } from "../../../../test_util/std/assert/mod.ts"; const errorDeferred = Promise.withResolvers<void>(); const closeDeferred = Promise.withResolvers<void>(); diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts index c534db99f..566e44206 100644 --- a/cli/tests/testdata/run/websocket_test.ts +++ b/cli/tests/testdata/run/websocket_test.ts @@ -4,7 +4,7 @@ import { assertEquals, assertThrows, fail, -} from "../../../../test_util/std/testing/asserts.ts"; +} from "../../../../test_util/std/assert/mod.ts"; Deno.test("invalid scheme", () => { assertThrows(() => new WebSocket("foo://localhost:4242")); diff --git a/cli/tests/testdata/run/websocketstream_test.ts b/cli/tests/testdata/run/websocketstream_test.ts index 82dd59a20..f34eaf0ab 100644 --- a/cli/tests/testdata/run/websocketstream_test.ts +++ b/cli/tests/testdata/run/websocketstream_test.ts @@ -7,7 +7,7 @@ import { assertRejects, assertThrows, unreachable, -} from "../../../../test_util/std/testing/asserts.ts"; +} from "../../../../test_util/std/assert/mod.ts"; Deno.test("fragment", () => { assertThrows(() => new WebSocketStream("ws://localhost:4242/#")); |
