mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
Add Deno.Err change missing from previous commit (#4113)
This commit is contained in:
parent
e1687c0a46
commit
f4fd433e1a
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,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);
|
||||
|
|
Loading…
Reference in a new issue