Skip to content

Commit

Permalink
Err -> errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkassimo committed Feb 24, 2020
1 parent ec41b6f commit dde7039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/js/os_test.ts
Expand Up @@ -322,7 +322,7 @@ testPerm({ env: false }, function releasePerm(): void {
Deno.osRelease();
} catch (err) {
caughtError = true;
assert(err instanceof Deno.Err.PermissionDenied);
assert(err instanceof Deno.errors.PermissionDenied);
assertEquals(err.name, "PermissionDenied");
}
assert(caughtError);
Expand Down
2 changes: 1 addition & 1 deletion cli/js/tty_test.ts
Expand Up @@ -16,7 +16,7 @@ test(function isattyError(): void {
Deno.isatty(0x7fffffff);
} catch (e) {
caught = true;
assert(e instanceof Deno.Err.BadResource);
assert(e instanceof Deno.errors.BadResource);
}
assert(caught);
});

0 comments on commit dde7039

Please sign in to comment.