diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-11-15 16:12:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 16:12:46 -0700 |
commit | 6b42cecc064d01d87aae978ecd7eb372bfe9a34e (patch) | |
tree | 3fb7f0e4be0c1e8184dde61f96324c7a8419d6b9 /cli/tests/testdata/run/websocket_test.ts | |
parent | 40726721e287b2d6c44839d9081dccb408886cab (diff) |
feat(ext/net): use rustls_tokio_stream (#21205)
Fixes #21121 and #19498
Migrates fully to rustls_tokio_stream. We no longer need to maintain our
own TlsStream implementation to properly support duplex.
This should fix a number of errors with TLS and websockets, HTTP and
"other" places where it's failing.
Diffstat (limited to 'cli/tests/testdata/run/websocket_test.ts')
-rw-r--r-- | cli/tests/testdata/run/websocket_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts index b759d042d..74a369d55 100644 --- a/cli/tests/testdata/run/websocket_test.ts +++ b/cli/tests/testdata/run/websocket_test.ts @@ -159,11 +159,9 @@ Deno.test("websocket error", async () => { ws.onopen = () => fail(); ws.onerror = (err) => { assert(err instanceof ErrorEvent); - - // Error message got changed because we don't use warp in test_util assertEquals( err.message, - "NetworkError: failed to connect to WebSocket: invalid data", + "NetworkError: failed to connect to WebSocket: received corrupt message of type InvalidContentType", ); promise1.resolve(); }; |