From f4fd433e1aa6c8c086c38df39c39bec23c56a29c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 24 Feb 2020 16:36:12 -0500 Subject: [PATCH] Add Deno.Err change missing from previous commit (#4113) --- cli/js/os_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/js/os_test.ts b/cli/js/os_test.ts index 11d2db8fe0..6e771fe989 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);