mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
fix typo in permissions explanation (#2162)
This commit is contained in:
parent
8dc8f22760
commit
648d2f3ba8
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
// the permissions set. These tests can specify which permissions they expect,
|
// the permissions set. These tests can specify which permissions they expect,
|
||||||
// which appends a special string like "permW1N0" to the end of the test name.
|
// which appends a special string like "permW1N0" to the end of the test name.
|
||||||
// Here we run several copies of deno with different permissions, filtering the
|
// Here we run several copies of deno with different permissions, filtering the
|
||||||
// tests by the special string. permW0N0 means allow-write but not allow-net.
|
// tests by the special string. permW1N0 means allow-write but not allow-net.
|
||||||
// See tools/unit_tests.py for more details.
|
// See tools/unit_tests.py for more details.
|
||||||
|
|
||||||
import * as testing from "./deps/https/deno.land/std/testing/mod.ts";
|
import * as testing from "./deps/https/deno.land/std/testing/mod.ts";
|
||||||
|
|
|
@ -42,7 +42,7 @@ def run_unit_test(deno_exe, permStr, flags=None):
|
||||||
# the permissions set. These tests can specify which permissions they expect,
|
# the permissions set. These tests can specify which permissions they expect,
|
||||||
# which appends a special string like "permW1N0" to the end of the test name.
|
# which appends a special string like "permW1N0" to the end of the test name.
|
||||||
# Here we run several copies of deno with different permissions, filtering the
|
# Here we run several copies of deno with different permissions, filtering the
|
||||||
# tests by the special string. permW0N0 means allow-write but not allow-net.
|
# tests by the special string. permW1N0 means allow-write but not allow-net.
|
||||||
# See js/test_util.ts for more details.
|
# See js/test_util.ts for more details.
|
||||||
def unit_tests(deno_exe):
|
def unit_tests(deno_exe):
|
||||||
run_unit_test(deno_exe, "permR0W0N0E0U0H0", ["--reload"])
|
run_unit_test(deno_exe, "permR0W0N0E0U0H0", ["--reload"])
|
||||||
|
|
Loading…
Reference in a new issue