summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-17 02:19:23 +0200
committerGitHub <noreply@github.com>2023-05-17 02:19:23 +0200
commitcb87cb0283fbe95ace2317b0617e7e74382bf4db (patch)
treeb75c51f15680cfb1f3d6f17cd44e485ec2b58e4f /cli/tests/testdata
parent867a6d303285cdffd060e6bb4b0e97de73925cfe (diff)
fix: support "fetch" over HTTPS for IP addresses (#18499)
This commit adds support for connecting to IP addresses over HTTPS. This is done by updating "rustls" to "0.21.0" and other related crates. Closes https://github.com/denoland/deno/issues/7660 Closes https://github.com/denoland/deno/issues/17967 --------- Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out2
-rw-r--r--cli/tests/testdata/run/websocket_test.ts5
2 files changed, 5 insertions, 2 deletions
diff --git a/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out b/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out
index 0bfaeb25d..4b95c1136 100644
--- a/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out
+++ b/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out
@@ -1,3 +1,3 @@
DANGER: TLS certificate validation is disabled for: deno.land
-error: error sending request for url (https://localhost:5545/subdir/mod2.ts): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
+error: error sending request for url (https://localhost:5545/subdir/mod2.ts): error trying to connect: invalid peer certificate: UnknownIssuer
at file:///[WILDCARD]/cafile_url_imports.ts:[WILDCARD]
diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts
index 27bc5adf9..d80f03c92 100644
--- a/cli/tests/testdata/run/websocket_test.ts
+++ b/cli/tests/testdata/run/websocket_test.ts
@@ -161,7 +161,10 @@ Deno.test("websocket error", async () => {
assert(err instanceof ErrorEvent);
// Error message got changed because we don't use warp in test_util
- assertEquals(err.message, "InvalidData: received corrupt message");
+ assertEquals(
+ err.message,
+ "InvalidData: received corrupt message of type InvalidContentType",
+ );
promise1.resolve();
};
await promise1;