summaryrefslogtreecommitdiff
path: root/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-08-08 14:39:31 +0100
committerGitHub <noreply@github.com>2024-08-08 15:39:31 +0200
commitab8802f49b882651b1bb7057aca79d13e077ef50 (patch)
treef1471f776b063559c7a594e353449ab509987ab4 /tests/integration/run_tests.rs
parente9e3ab462863fdaf1c0639c53da16c737a0d913b (diff)
feat(permissions): link to docs in permission prompt (#24948)
This commit updates permission prompt to add a link to the documentation for particular flag. Additionally the box drawings around the prompt have been slightly altered for better visibility. <img width="737" alt="Screenshot 2024-08-08 at 12 42 32" src="https://github.com/user-attachments/assets/6ae748cd-4f29-439d-b0ee-f28f565f211a">
Diffstat (limited to 'tests/integration/run_tests.rs')
-rw-r--r--tests/integration/run_tests.rs220
1 files changed, 122 insertions, 98 deletions
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs
index 44199c631..0b3d85deb 100644
--- a/tests/integration/run_tests.rs
+++ b/tests/integration/run_tests.rs
@@ -511,19 +511,21 @@ fn _090_run_permissions_request() {
.args_vec(["run", "--quiet", "run/090_run_permissions_request.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"ls\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"ls\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("y");
console.expect("Granted run access to \"ls\".");
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"cat\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"cat\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("n");
@@ -540,19 +542,21 @@ fn _090_run_permissions_request_sync() {
.args_vec(["run", "--quiet", "run/090_run_permissions_request_sync.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"ls\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"ls\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("y");
console.expect("Granted run access to \"ls\".");
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"cat\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"cat\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("n");
@@ -570,70 +574,77 @@ fn permissions_prompt_allow_all() {
.with_pty(|mut console| {
// "run" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all run access.");
// "read" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all read access.");
// "write" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests write access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-write to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all write permissions)",
+ "┏ ⚠️ Deno requests write access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-write\r\n",
+ "┠─ Run again with --allow-write to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all write permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all write access.");
// "net" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests net access to \"foo\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-net to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all net permissions)",
+ "┏ ⚠️ Deno requests net access to \"foo\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-net\r\n",
+ "┠─ Run again with --allow-net to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all net permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all net access.");
// "env" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests env access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-env to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
+ "┏ ⚠️ Deno requests env access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-env\r\n",
+ "┠─ Run again with --allow-env to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all env access.");
// "sys" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests sys access to \"loadavg\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-sys to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all sys permissions)",
+ "┏ ⚠️ Deno requests sys access to \"loadavg\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-sys\r\n",
+ "┠─ Run again with --allow-sys to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all sys permissions)",
));
console.human_delay();
console.write_line_raw("A");
console.expect("✅ Granted all sys access.");
// "ffi" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests ffi access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-ffi to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all ffi permissions)",
+ "┏ ⚠️ Deno requests ffi access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-ffi\r\n",
+ "┠─ Run again with --allow-ffi to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all ffi permissions)",
));
console.human_delay();
console.write_line_raw("A");
@@ -650,9 +661,10 @@ fn permissions_prompt_allow_all_2() {
.with_pty(|mut console| {
// "env" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests env access to \"FOO\".\r\n",
- "├ Run again with --allow-env to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
+ "┏ ⚠️ Deno requests env access to \"FOO\".\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-env\r\n",
+ "┠─ Run again with --allow-env to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
));
console.human_delay();
console.write_line_raw("A");
@@ -660,10 +672,11 @@ fn permissions_prompt_allow_all_2() {
// "sys" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests sys access to \"loadavg\".\r\n",
- "├ Requested by `Deno.loadavg()` API.\r\n",
- "├ Run again with --allow-sys to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all sys permissions)",
+ "┏ ⚠️ Deno requests sys access to \"loadavg\".\r\n",
+ "┠─ Requested by `Deno.loadavg()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-sys\r\n",
+ "┠─ Run again with --allow-sys to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all sys permissions)",
));
console.human_delay();
console.write_line_raw("A");
@@ -671,10 +684,11 @@ fn permissions_prompt_allow_all_2() {
// "read" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to <CWD>.\r\n",
- "├ Requested by `Deno.cwd()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to <CWD>.\r\n",
+ "┠─ Requested by `Deno.cwd()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("A");
@@ -690,10 +704,11 @@ fn permissions_prompt_allow_all_lowercase_a() {
.with_pty(|mut console| {
// "run" permissions
console.expect(concat!(
- "┌ ⚠️ Deno requests run access to \"FOO\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-run to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
+ "┏ ⚠️ Deno requests run access to \"FOO\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-run\r\n",
+ "┠─ Run again with --allow-run to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all run permissions)",
));
console.human_delay();
console.write_line_raw("a");
@@ -733,10 +748,11 @@ fn permissions_cache() {
.with_pty(|mut console| {
console.expect(concat!(
"prompt\r\n",
- "┌ ⚠️ Deno requests read access to \"foo\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"foo\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("y");
@@ -2965,18 +2981,20 @@ mod permissions {
.args_vec(["run", "--quiet", "run/061_permissions_request.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to \"foo\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"foo\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("y");
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to \"bar\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"bar\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("n");
@@ -2993,18 +3011,20 @@ mod permissions {
.args_vec(["run", "--quiet", "run/061_permissions_request_sync.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to \"foo\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"foo\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("y");
console.expect(concat!(
- "┌ ⚠️ Deno requests read access to \"bar\".\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access to \"bar\".\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("n");
@@ -3021,10 +3041,11 @@ mod permissions {
.args_vec(["run", "--quiet", "run/062_permissions_request_global.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests read access.\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access.\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("y\n");
@@ -3044,10 +3065,11 @@ mod permissions {
.args_vec(["run", "--quiet", "run/062_permissions_request_global_sync.ts"])
.with_pty(|mut console| {
console.expect(concat!(
- "┌ ⚠️ Deno requests read access.\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-read to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
+ "┏ ⚠️ Deno requests read access.\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-read\r\n",
+ "┠─ Run again with --allow-read to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)",
));
console.human_delay();
console.write_line_raw("y");
@@ -3200,18 +3222,20 @@ fn issue9750() {
console.expect("Enter 'yy':");
console.write_line_raw("yy");
console.expect(concat!(
- "┌ ⚠️ Deno requests env access.\r\n",
- "├ Requested by `Deno.permissions.request()` API.\r\n",
- "├ Run again with --allow-env to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
+ "┏ ⚠️ Deno requests env access.\r\n",
+ "┠─ Requested by `Deno.permissions.request()` API.\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-env\r\n",
+ "┠─ Run again with --allow-env to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
));
console.human_delay();
console.write_line_raw("n");
console.expect("Denied env access.");
console.expect(concat!(
- "┌ ⚠️ Deno requests env access to \"SECRET\".\r\n",
- "├ Run again with --allow-env to bypass this prompt.\r\n",
- "└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
+ "┏ ⚠️ Deno requests env access to \"SECRET\".\r\n",
+ "┠─ Learn more at: https://docs.deno.com/go/--allow-env\r\n",
+ "┠─ Run again with --allow-env to bypass this prompt.\r\n",
+ "┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions)",
));
console.human_delay();
console.write_line_raw("n");
@@ -4618,11 +4642,11 @@ fn stdio_streams_are_locked_in_permission_prompt() {
} else {
"\r\n"
};
- console.expect_raw_next(format!("i{newline}\u{1b}[1A\u{1b}[0J└ Unrecognized option. Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions) > "));
+ console.expect_raw_next(format!("i{newline}\u{1b}[1A\u{1b}[0J┗ Unrecognized option. Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions) > "));
console.human_delay();
console.write_line_raw("y");
// We ensure that nothing gets written here between the permission prompt and this text, despire the delay
- console.expect_raw_next(format!("y{newline}\x1b[4A\x1b[0J✅ Granted read access to \""));
+ console.expect_raw_next(format!("y{newline}\x1b[5A\x1b[0J✅ Granted read access to \""));
// Back to spamming!
console.expect(malicious_output);
@@ -4642,7 +4666,7 @@ fn permission_prompt_escapes_ansi_codes_and_control_chars() {
"\\rDo you like ice cream? y/n"
};
console.expect(format!(
- "\u{250c} \u{26a0}\u{fe0f} Deno requests env access to \"{}\".",
+ "\u{250f} \u{26a0}\u{fe0f} Deno requests env access to \"{}\".",
env_name
))
});
@@ -4655,7 +4679,7 @@ fn permission_prompt_escapes_ansi_codes_and_control_chars() {
console.write_line_raw(
r#"new Deno.Command(`${boldANSI}cat${unboldANSI}`).spawn();"#,
);
- console.expect("\u{250c} \u{26a0}\u{fe0f} Deno requests run access to \"\\u{1b}[1mcat\\u{1b}[22m\".");
+ console.expect("\u{250f} \u{26a0}\u{fe0f} Deno requests run access to \"\\u{1b}[1mcat\\u{1b}[22m\".");
});
}