diff options
Diffstat (limited to 'cli/tests/unit/net_test.ts')
-rw-r--r-- | cli/tests/unit/net_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts index 930e4f052..652d07d7d 100644 --- a/cli/tests/unit/net_test.ts +++ b/cli/tests/unit/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, @@ -917,7 +917,7 @@ Deno.test( const conn = await Deno.connect({ port: 3500 }); conn.unref(); await conn.read(new Uint8Array(10)); // The program exits here - throw new Error(); // The program doesn't reach here + throw new Error(); // The program doesn't reach here } main(); `); @@ -942,7 +942,7 @@ Deno.test( conn.unref(); const reader = conn.readable.getReader(); await reader.read(); // The program exits here - throw new Error(); // The program doesn't reach here + throw new Error(); // The program doesn't reach here } main(); `); |