diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-02-24 16:36:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 16:36:12 -0500 |
commit | f4fd433e1aa6c8c086c38df39c39bec23c56a29c (patch) | |
tree | 5d1b3b4e670ec5dd8527d0df222a2bbf43d836cf | |
parent | e1687c0a4616e90d4bbde42b13a0356a7f6a1e7d (diff) |
Add Deno.Err change missing from previous commit (#4113)
-rw-r--r-- | cli/js/os_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/os_test.ts b/cli/js/os_test.ts index 11d2db8fe..6e771fe98 100644 --- a/cli/js/os_test.ts +++ b/cli/js/os_test.ts @@ -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); |