mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 11:53:59 -05: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();
|
Deno.osRelease();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
caughtError = true;
|
caughtError = true;
|
||||||
assert(err instanceof Deno.Err.PermissionDenied);
|
assert(err instanceof Deno.errors.PermissionDenied);
|
||||||
assertEquals(err.name, "PermissionDenied");
|
assertEquals(err.name, "PermissionDenied");
|
||||||
}
|
}
|
||||||
assert(caughtError);
|
assert(caughtError);
|
||||||
|
|
Loading…
Add table
Reference in a new issue