summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/websocket_test.ts
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-10-31 09:34:45 -0600
committerGitHub <noreply@github.com>2023-10-31 09:34:45 -0600
commite4308aebc0a060e7210362e576e792e558384c24 (patch)
treefe3a39fe85669d1fb55811e001f6cacefdadd561 /cli/tests/testdata/run/websocket_test.ts
parentedee8ab95d28abfce5606ab35e02b7c7ace2cf8d (diff)
feat(ext/websocket): use rustls-tokio-stream instead of tokio-rustls (#20518)
Use new https://github.com/denoland/rustls-tokio-stream project instead of tokio-rustls for direct websocket connections. This library was written from the ground up to be more reliable and should help with various bugs that may occur due to underlying bugs in the old library. Believed to fix #20355, #18977, #20948
Diffstat (limited to 'cli/tests/testdata/run/websocket_test.ts')
-rw-r--r--cli/tests/testdata/run/websocket_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts
index d80f03c92..43db15cce 100644
--- a/cli/tests/testdata/run/websocket_test.ts
+++ b/cli/tests/testdata/run/websocket_test.ts
@@ -163,7 +163,7 @@ Deno.test("websocket error", async () => {
// Error message got changed because we don't use warp in test_util
assertEquals(
err.message,
- "InvalidData: received corrupt message of type InvalidContentType",
+ "InvalidData: invalid data",
);
promise1.resolve();
};