summaryrefslogtreecommitdiff
path: root/tests/unit/net_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-05 15:22:31 +0200
committerGitHub <noreply@github.com>2024-09-05 15:22:31 +0200
commit15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (patch)
treea236e2de82f91b8a36cb5228db119f116fe05c06 /tests/unit/net_test.ts
parentb54347c448ca4a003b81800655eb1433fc842b2a (diff)
feat(check): turn on useUnknownInCatchVariables (#25465)
Part of #25162 Closes #11826
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;