From 9ab03389f047e5520c184b9fce4cd5fb2e4804bd Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Fri, 8 Feb 2019 23:59:38 +0300 Subject: Add --allow-read (#1689) Co-authored-by: Greg Altman --- js/resources_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/resources_test.ts') diff --git a/js/resources_test.ts b/js/resources_test.ts index 7cfcbf1f8..722602c98 100644 --- a/js/resources_test.ts +++ b/js/resources_test.ts @@ -26,7 +26,7 @@ testPerm({ net: true }, async function resourcesNet() { listener.close(); }); -test(async function resourcesFile() { +testPerm({ read: true }, async function resourcesFile() { const resourcesBefore = deno.resources(); await deno.open("tests/hello.txt"); const resourcesAfter = deno.resources(); -- cgit v1.2.3