summaryrefslogtreecommitdiff
path: root/tests/unit/fetch_test.ts
diff options
context:
space:
mode:
authorIan Bull <irbull@gmail.com>2024-09-04 00:05:29 -0700
committerGitHub <noreply@github.com>2024-09-04 09:05:29 +0200
commitce6b6751028bfe08b49628a30e660ff479eded02 (patch)
treeb0262dcbfa8e40aca090486eab959f04ae725ffc /tests/unit/fetch_test.ts
parent7079acd74d583a14f3c09e16f196a6851381439b (diff)
refactor(ext/fetch): align error messages (#25374)
Aligns the error messages in the ext/fetch folder to be in-line with the Deno style guide. https://github.com/denoland/deno/issues/25269
Diffstat (limited to 'tests/unit/fetch_test.ts')
-rw-r--r--tests/unit/fetch_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/fetch_test.ts b/tests/unit/fetch_test.ts
index 721b6912d..35d5e563f 100644
--- a/tests/unit/fetch_test.ts
+++ b/tests/unit/fetch_test.ts
@@ -1131,7 +1131,7 @@ Deno.test(function fetchResponseConstructorInvalidStatus() {
assert(e instanceof RangeError);
assert(
e.message.endsWith(
- "is not equal to 101 and outside the range [200, 599].",
+ "is not equal to 101 and outside the range [200, 599]",
),
);
}
@@ -1662,7 +1662,7 @@ Deno.test(
);
},
TypeError,
- "Fetching files only supports the GET method. Received POST.",
+ "Fetching files only supports the GET method: received POST",
);
},
);