1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Add missing run permission in test function (#1697)

This commit is contained in:
JaePil Jung 2019-02-06 23:21:26 +09:00 committed by Ryan Dahl
parent ed6aec9bf0
commit ffe8f73d34

View file

@ -52,7 +52,7 @@ export function testPerm(perms: DenoPermissions, fn: testing.TestFunction) {
}
export function test(fn: testing.TestFunction) {
testPerm({ write: false, net: false, env: false }, fn);
testPerm({ write: false, net: false, env: false, run: false }, fn);
}
test(function permSerialization() {