summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-09-13 17:05:00 +0200
committerGitHub <noreply@github.com>2021-09-13 17:05:00 +0200
commit274ff6c469656bfe527fa644c24dfecc79e90ce4 (patch)
treeb2cd21f4a7f74a9b1df60c78fd07c027da49ff46
parent3b30ba8031d0c27e674d6a22f8062bc9db544c8c (diff)
fix: change assertion in httpServerIncompleteMessage test (#12052)
-rw-r--r--cli/tests/unit/http_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts
index c243d6442..a955a7ab8 100644
--- a/cli/tests/unit/http_test.ts
+++ b/cli/tests/unit/http_test.ts
@@ -848,7 +848,7 @@ unitTest(
listener.close();
- assertEquals(errors.length, 2);
+ assert(errors.length >= 1);
for (const error of errors) {
assertEquals(error.name, "Http");
assertEquals(