diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-05 15:22:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 15:22:31 +0200 |
commit | 15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (patch) | |
tree | a236e2de82f91b8a36cb5228db119f116fe05c06 /tests/unit/net_test.ts | |
parent | b54347c448ca4a003b81800655eb1433fc842b2a (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.ts | 2 |
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; |