summaryrefslogtreecommitdiff
path: root/tests/unit/net_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/net_test.ts')
-rw-r--r--tests/unit/net_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/net_test.ts b/tests/unit/net_test.ts
index 9cd3094e5..1428a804f 100644
--- a/tests/unit/net_test.ts
+++ b/tests/unit/net_test.ts
@@ -443,7 +443,7 @@ Deno.test(
// Note: we have to do the test this way as different OS's have
// different UDP size limits enabled, so we will just ensure if
// an error is thrown it is the one we are expecting.
- assert(err.message.match(rx));
+ assert((err as Error).message.match(rx));
alice.close();
bob.close();
return;