mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
refactor: remove unneeded ErrorKinds (#3936)
This commit is contained in:
parent
d9efb8c02a
commit
dd8a109481
66 changed files with 553 additions and 620 deletions
|
@ -2,7 +2,6 @@ import {
|
|||
test,
|
||||
testPerm,
|
||||
assert,
|
||||
assertEquals,
|
||||
assertMatch,
|
||||
unreachable
|
||||
} from "./test_util.ts";
|
||||
|
@ -31,5 +30,4 @@ test(async function malformedJsonControlBuffer(): Promise<void> {
|
|||
const resJson = JSON.parse(resText) as any;
|
||||
assert(!resJson.ok);
|
||||
assert(resJson.err);
|
||||
assertEquals(resJson.err!.kind, Deno.ErrorKind.InvalidInput);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue