summaryrefslogtreecommitdiff
path: root/js/fetch_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/fetch_test.ts')
-rw-r--r--js/fetch_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/fetch_test.ts b/js/fetch_test.ts
index 1b59e068a..542d69147 100644
--- a/js/fetch_test.ts
+++ b/js/fetch_test.ts
@@ -69,8 +69,8 @@ testPerm({ net: true }, async function fetchEmptyInvalid(): Promise<void> {
} catch (err_) {
err = err_;
}
- assertEquals(err.kind, Deno.ErrorKind.InvalidUri);
- assertEquals(err.name, "InvalidUri");
+ assertEquals(err.kind, Deno.ErrorKind.RelativeUrlWithoutBase);
+ assertEquals(err.name, "RelativeUrlWithoutBase");
});
testPerm({ net: true }, async function fetchMultipartFormDataSuccess(): Promise<