aports/community/deno/tests-musl-compat.patch
2024-03-31 09:00:24 +00:00

12 lines
368 B
Diff

--- a/tests/unit_node/http_test.ts.orig
+++ b/tests/unit_node/http_test.ts
@@ -835,7 +835,7 @@
await deferred1.promise;
const expectedMsg = Deno.build.os === "windows"
? "Only one usage of each socket address"
- : "Address already in use";
+ : "Address in use";
assert(
err.message.startsWith(expectedMsg),
`Wrong error: ${err.message}`,