mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -05:00
fix tls_test.ts. Now it needs some listener to cause initial read
This commit is contained in:
parent
408e7e545d
commit
ee4c391886
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ Deno.test("tls.connect() throws InvalidData when there's error in certificate",
|
||||||
host: "localhost",
|
host: "localhost",
|
||||||
port: 4557,
|
port: 4557,
|
||||||
});
|
});
|
||||||
|
conn.on("data", () => {});
|
||||||
conn.on("error", (err) => {
|
conn.on("error", (err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue