diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-13 14:51:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-13 14:51:15 -0400 |
commit | 1f8b1a587c397dd01e058820769580323a0f7330 (patch) | |
tree | a600f22f4639d8ac319276b3d58580c3431f2d4f /tests/error_016_dynamic_import_permissions2.test | |
parent | 1947f572d735096c1ccd7de2c386b8289c287701 (diff) |
Dynamic import should respect permissions (#2764)
Diffstat (limited to 'tests/error_016_dynamic_import_permissions2.test')
-rw-r--r-- | tests/error_016_dynamic_import_permissions2.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/error_016_dynamic_import_permissions2.test b/tests/error_016_dynamic_import_permissions2.test new file mode 100644 index 000000000..0fc514f0f --- /dev/null +++ b/tests/error_016_dynamic_import_permissions2.test @@ -0,0 +1,5 @@ +# We have an allow-net flag but not allow-read, it should still result in error. +args: --no-prompt --reload --allow-net tests/error_016_dynamic_import_permissions2.js +output: tests/error_016_dynamic_import_permissions2.out +check_stderr: true +exit_code: 1 |