summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/doc_tests.rs2
-rw-r--r--cli/tests/integration/info_tests.rs8
-rw-r--r--cli/tests/integration/lint_tests.rs2
-rw-r--r--cli/tests/integration/npm_tests.rs15
-rw-r--r--cli/tests/integration/run_tests.rs48
-rw-r--r--cli/tests/integration/test_tests.rs12
-rw-r--r--cli/tests/integration/watcher_tests.rs9
-rw-r--r--cli/tests/integration/worker_tests.rs2
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_1.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_10.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_11.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_12.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_13.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_14.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_15.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_16.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_17.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_18.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_19.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_2.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_3.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_4.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_5.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_6.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_7.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_8.js.out2
-rw-r--r--cli/tests/testdata/run/ffi/unstable_ffi_9.js.out2
-rw-r--r--cli/tests/testdata/run/unstable_worker_options.disabled.out2
29 files changed, 64 insertions, 76 deletions
diff --git a/cli/tests/integration/doc_tests.rs b/cli/tests/integration/doc_tests.rs
index 73a112261..62fd2a5b4 100644
--- a/cli/tests/integration/doc_tests.rs
+++ b/cli/tests/integration/doc_tests.rs
@@ -28,7 +28,7 @@ fn deno_doc() {
}
itest!(deno_doc_import_map {
- args: "doc --unstable --import-map=doc/import_map.json doc/use_import_map.js",
+ args: "doc --import-map=doc/import_map.json doc/use_import_map.js",
output: "doc/use_import_map.out",
});
diff --git a/cli/tests/integration/info_tests.rs b/cli/tests/integration/info_tests.rs
index 6897458ac..922fcee06 100644
--- a/cli/tests/integration/info_tests.rs
+++ b/cli/tests/integration/info_tests.rs
@@ -51,12 +51,12 @@ itest!(info_flag_location {
});
itest!(info_json {
- args: "info --json --unstable",
+ args: "info --json",
output: "info/info_json.out",
});
itest!(info_json_location {
- args: "info --json --unstable --location https://deno.land",
+ args: "info --json --location https://deno.land",
output: "info/info_json_location.out",
});
@@ -67,7 +67,7 @@ itest!(info_flag_script_jsx {
});
itest!(json_file {
- args: "info --quiet --json --unstable info/json_output/main.ts",
+ args: "info --quiet --json info/json_output/main.ts",
output: "info/json_output/main.out",
exit_code: 0,
});
@@ -79,7 +79,7 @@ itest!(import_map_info {
});
itest!(info_json_deps_order {
- args: "info --unstable --json info/076_info_json_deps_order.ts",
+ args: "info --json info/076_info_json_deps_order.ts",
output: "info/076_info_json_deps_order.out",
});
diff --git a/cli/tests/integration/lint_tests.rs b/cli/tests/integration/lint_tests.rs
index e131df713..b266fb5b7 100644
--- a/cli/tests/integration/lint_tests.rs
+++ b/cli/tests/integration/lint_tests.rs
@@ -4,7 +4,7 @@ use test_util::assert_contains;
use test_util::TestContextBuilder;
itest!(ignore_unexplicit_files {
- args: "lint --unstable --ignore=./",
+ args: "lint --ignore=./",
output_str: Some("error: No target files found.\n"),
exit_code: 1,
});
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs
index 9840f2771..e3b1196b9 100644
--- a/cli/tests/integration/npm_tests.rs
+++ b/cli/tests/integration/npm_tests.rs
@@ -30,14 +30,14 @@ itest!(esm_module_eval {
});
itest!(esm_module_deno_test {
- args: "test --allow-read --allow-env --unstable npm/esm/test.js",
+ args: "test --allow-read --allow-env npm/esm/test.js",
output: "npm/esm/test.out",
envs: env_vars_for_npm_tests(),
http_server: true,
});
itest!(esm_import_cjs_default {
- args: "run --allow-read --allow-env --unstable --quiet --check=all npm/esm_import_cjs_default/main.ts",
+ args: "run --allow-read --allow-env --quiet --check=all npm/esm_import_cjs_default/main.ts",
output: "npm/esm_import_cjs_default/main.out",
envs: env_vars_for_npm_tests(),
http_server: true,
@@ -123,7 +123,7 @@ itest!(translate_cjs_to_esm {
});
itest!(compare_globals {
- args: "run --allow-read --unstable --check=all npm/compare_globals/main.ts",
+ args: "run --allow-read --check=all npm/compare_globals/main.ts",
output: "npm/compare_globals/main.out",
envs: env_vars_for_npm_tests(),
http_server: true,
@@ -160,14 +160,15 @@ itest!(child_process_fork_test {
});
itest!(cjs_module_export_assignment {
- args: "run -A --unstable --quiet --check=all npm/cjs_module_export_assignment/main.ts",
+ args: "run -A --quiet --check=all npm/cjs_module_export_assignment/main.ts",
output: "npm/cjs_module_export_assignment/main.out",
envs: env_vars_for_npm_tests(),
http_server: true,
});
itest!(cjs_module_export_assignment_number {
- args: "run -A --unstable --quiet --check=all npm/cjs_module_export_assignment_number/main.ts",
+ args:
+ "run -A --quiet --check=all npm/cjs_module_export_assignment_number/main.ts",
output: "npm/cjs_module_export_assignment_number/main.out",
envs: env_vars_for_npm_tests(),
http_server: true,
@@ -401,7 +402,7 @@ itest!(no_types_cjs {
});
itest!(no_types_in_conditional_exports {
- args: "run --check --unstable npm/no_types_in_conditional_exports/main.ts",
+ args: "run --check npm/no_types_in_conditional_exports/main.ts",
output: "npm/no_types_in_conditional_exports/main.out",
exit_code: 0,
envs: env_vars_for_npm_tests(),
@@ -1542,7 +1543,7 @@ fn auto_discover_lock_file() {
let output = context
.new_command()
- .args("run --unstable -A npm:@denotest/bin/cli-esm test")
+ .args("run -A npm:@denotest/bin/cli-esm test")
.run();
output
.assert_matches_text(
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 466972c92..03aa8893f 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -143,9 +143,8 @@ itest!(_023_no_ext {
output: "run/023_no_ext.out",
});
-// TODO(lucacasonato): remove --unstable when permissions goes stable
itest!(_025_hrtime {
- args: "run --quiet --allow-hrtime --unstable --reload run/025_hrtime.ts",
+ args: "run --quiet --allow-hrtime --reload run/025_hrtime.ts",
output: "run/025_hrtime.ts.out",
});
@@ -199,14 +198,14 @@ itest!(_033_import_map_in_flag_has_precedence {
itest!(_033_import_map_remote {
args:
- "run --quiet --reload --import-map=http://127.0.0.1:4545/import_maps/import_map_remote.json --unstable import_maps/test_remote.ts",
+ "run --quiet --reload --import-map=http://127.0.0.1:4545/import_maps/import_map_remote.json import_maps/test_remote.ts",
output: "run/033_import_map_remote.out",
http_server: true,
});
itest!(_033_import_map_vendor_dir_remote {
args:
- "run --quiet --reload --import-map=http://127.0.0.1:4545/import_maps/import_map_remote.json --vendor --unstable $TESTDATA/import_maps/test_remote.ts",
+ "run --quiet --reload --import-map=http://127.0.0.1:4545/import_maps/import_map_remote.json --vendor $TESTDATA/import_maps/test_remote.ts",
output: "run/033_import_map_remote.out",
http_server: true,
temp_cwd: true,
@@ -250,9 +249,8 @@ itest!(_044_bad_resource {
exit_code: 1,
});
-// TODO(bartlomieju): remove --unstable once Deno.Command is stabilized
itest!(_045_proxy {
- args: "run -L debug --unstable --allow-net --allow-env --allow-run --allow-read --reload --quiet run/045_proxy_test.ts",
+ args: "run -L debug --allow-net --allow-env --allow-run --allow-read --reload --quiet run/045_proxy_test.ts",
output: "run/045_proxy_test.ts.out",
http_server: true,
});
@@ -1442,43 +1440,42 @@ itest!(exit_error42 {
});
itest!(set_exit_code_0 {
- args: "run --no-check --unstable run/set_exit_code_0.ts",
+ args: "run --no-check run/set_exit_code_0.ts",
output_str: Some(""),
exit_code: 0,
});
itest!(set_exit_code_1 {
- args: "run --no-check --unstable run/set_exit_code_1.ts",
+ args: "run --no-check run/set_exit_code_1.ts",
output_str: Some(""),
exit_code: 42,
});
itest!(set_exit_code_2 {
- args: "run --no-check --unstable run/set_exit_code_2.ts",
+ args: "run --no-check run/set_exit_code_2.ts",
output_str: Some(""),
exit_code: 42,
});
itest!(op_exit_op_set_exit_code_in_worker {
- args: "run --no-check --unstable --allow-read run/op_exit_op_set_exit_code_in_worker.ts",
+ args: "run --no-check --allow-read run/op_exit_op_set_exit_code_in_worker.ts",
exit_code: 21,
output_str: Some(""),
});
itest!(deno_exit_tampering {
- args: "run --no-check --unstable run/deno_exit_tampering.ts",
+ args: "run --no-check run/deno_exit_tampering.ts",
output_str: Some(""),
exit_code: 42,
});
itest!(heapstats {
- args: "run --quiet --unstable --v8-flags=--expose-gc run/heapstats.js",
+ args: "run --quiet --v8-flags=--expose-gc run/heapstats.js",
output: "run/heapstats.js.out",
});
itest!(finalization_registry {
- args:
- "run --quiet --unstable --v8-flags=--expose-gc run/finalization_registry.js",
+ args: "run --quiet --v8-flags=--expose-gc run/finalization_registry.js",
output: "run/finalization_registry.js.out",
});
@@ -1733,12 +1730,12 @@ itest!(unstable_disabled_js {
});
itest!(unstable_enabled_js {
- args: "run --quiet --reload --unstable run/unstable.ts",
+ args: "run --quiet --reload --unstable-fs run/unstable.ts",
output: "run/unstable_enabled_js.out",
});
itest!(unstable_worker {
- args: "run --reload --unstable --quiet --allow-read run/unstable_worker.ts",
+ args: "run --reload --quiet --allow-read run/unstable_worker.ts",
output: "run/unstable_worker.ts.out",
});
@@ -2237,7 +2234,7 @@ itest!(worker_drop_handle_race {
});
itest!(worker_drop_handle_race_terminate {
- args: "run --unstable run/worker_drop_handle_race_terminate.js",
+ args: "run run/worker_drop_handle_race_terminate.js",
output: "run/worker_drop_handle_race_terminate.js.out",
});
@@ -3045,7 +3042,7 @@ mod permissions {
}
itest!(tls_starttls {
- args: "run --quiet --reload --allow-net --allow-read --unstable --cert tls/RootCA.pem run/tls_starttls.js",
+ args: "run --quiet --reload --allow-net --allow-read --cert tls/RootCA.pem run/tls_starttls.js",
output: "run/tls.out",
});
@@ -3610,8 +3607,7 @@ itest!(event_listener_error_immediate_exit {
// https://github.com/denoland/deno/pull/14159#issuecomment-1092285446
itest!(event_listener_error_immediate_exit_worker {
- args:
- "run --quiet --unstable -A run/event_listener_error_immediate_exit_worker.ts",
+ args: "run --quiet -A run/event_listener_error_immediate_exit_worker.ts",
output: "run/event_listener_error_immediate_exit_worker.ts.out",
exit_code: 1,
});
@@ -3691,7 +3687,7 @@ itest!(check_js_points_to_ts {
});
itest!(no_prompt_flag {
- args: "run --quiet --unstable --no-prompt run/no_prompt.ts",
+ args: "run --quiet --no-prompt run/no_prompt.ts",
output_str: Some(""),
});
@@ -3740,7 +3736,7 @@ itest!(queue_microtask_error_handled {
});
itest!(spawn_stdout_inherit {
- args: "run --quiet --unstable -A run/spawn_stdout_inherit.ts",
+ args: "run --quiet -A run/spawn_stdout_inherit.ts",
output: "run/spawn_stdout_inherit.ts.out",
});
@@ -3785,17 +3781,17 @@ itest!(test_and_bench_are_noops_in_run {
#[cfg(not(target_os = "windows"))]
itest!(spawn_kill_permissions {
- args: "run --quiet --unstable --allow-run=cat spawn_kill_permissions.ts",
+ args: "run --quiet --allow-run=cat spawn_kill_permissions.ts",
output_str: Some(""),
});
itest!(followup_dyn_import_resolved {
- args: "run --unstable --allow-read run/followup_dyn_import_resolves/main.ts",
+ args: "run --allow-read run/followup_dyn_import_resolves/main.ts",
output: "run/followup_dyn_import_resolves/main.ts.out",
});
itest!(allow_run_allowlist_resolution {
- args: "run --quiet --unstable -A allow_run_allowlist_resolution.ts",
+ args: "run --quiet -A allow_run_allowlist_resolution.ts",
output: "allow_run_allowlist_resolution.ts.out",
});
@@ -3834,7 +3830,7 @@ itest!(nested_error {
});
itest!(node_env_var_allowlist {
- args: "run --unstable --no-prompt run/node_env_var_allowlist.ts",
+ args: "run --no-prompt run/node_env_var_allowlist.ts",
output: "run/node_env_var_allowlist.ts.out",
exit_code: 1,
});
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 97aba8051..27bef8007 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -50,7 +50,7 @@ itest!(ignore {
});
itest!(ignore_permissions {
- args: "test --unstable test/ignore_permissions.ts",
+ args: "test test/ignore_permissions.ts",
exit_code: 0,
output: "test/ignore_permissions.out",
});
@@ -200,25 +200,25 @@ itest!(no_check {
});
itest!(no_run {
- args: "test --unstable --no-run test/no_run.ts",
+ args: "test --no-run test/no_run.ts",
output: "test/no_run.out",
exit_code: 1,
});
itest!(allow_all {
- args: "test --unstable --allow-all test/allow_all.ts",
+ args: "test --allow-all test/allow_all.ts",
exit_code: 0,
output: "test/allow_all.out",
});
itest!(allow_none {
- args: "test --unstable test/allow_none.ts",
+ args: "test test/allow_none.ts",
exit_code: 1,
output: "test/allow_none.out",
});
itest!(ops_sanitizer_unstable {
- args: "test --unstable --trace-ops test/ops_sanitizer_unstable.ts",
+ args: "test --trace-ops test/ops_sanitizer_unstable.ts",
exit_code: 1,
output: "test/ops_sanitizer_unstable.out",
});
@@ -449,7 +449,7 @@ fn captured_output() {
let context = TestContext::default();
let output = context
.new_command()
- .args("test --allow-run --allow-read --unstable test/captured_output.ts")
+ .args("test --allow-run --allow-read test/captured_output.ts")
.env("NO_COLOR", "1")
.run();
diff --git a/cli/tests/integration/watcher_tests.rs b/cli/tests/integration/watcher_tests.rs
index 6732d5284..008df3385 100644
--- a/cli/tests/integration/watcher_tests.rs
+++ b/cli/tests/integration/watcher_tests.rs
@@ -216,7 +216,6 @@ async fn lint_watch_test() {
.arg("lint")
.arg(&badly_linted)
.arg("--watch")
- .arg("--unstable")
.piped_output()
.spawn()
.unwrap();
@@ -273,7 +272,6 @@ async fn lint_watch_without_args_test() {
.current_dir(t.path())
.arg("lint")
.arg("--watch")
- .arg("--unstable")
.piped_output()
.spawn()
.unwrap();
@@ -365,7 +363,6 @@ async fn fmt_watch_test() {
.arg("fmt")
.arg(&badly_formatted)
.arg("--watch")
- .arg("--unstable")
.piped_output()
.spawn()
.unwrap();
@@ -420,7 +417,6 @@ async fn fmt_watch_without_args_test() {
.current_dir(t.path())
.arg("fmt")
.arg("--watch")
- .arg("--unstable")
.piped_output()
.spawn()
.unwrap();
@@ -514,7 +510,6 @@ async fn bundle_js_watch() {
.arg(&file_to_watch)
.arg(&bundle)
.arg("--watch")
- .arg("--unstable")
.env("NO_COLOR", "1")
.piped_output()
.spawn()
@@ -586,7 +581,6 @@ async fn bundle_watch_not_exit() {
.arg(&file_to_watch)
.arg(&target_file)
.arg("--watch")
- .arg("--unstable")
.env("NO_COLOR", "1")
.piped_output()
.spawn()
@@ -891,7 +885,6 @@ async fn run_watch_with_import_map_and_relative_paths() {
let mut child = util::deno_cmd()
.current_dir(temp_directory.path())
.arg("run")
- .arg("--unstable")
.arg("--watch")
.arg("--import-map")
.arg(&import_map_path)
@@ -1191,7 +1184,6 @@ async fn test_watch_module_graph_error_referrer() {
.current_dir(util::testdata_path())
.arg("run")
.arg("--watch")
- .arg("--unstable")
.arg(&file_to_watch)
.env("NO_COLOR", "1")
.piped_output()
@@ -1315,7 +1307,6 @@ async fn bench_watch_basic() {
.current_dir(util::testdata_path())
.arg("bench")
.arg("--watch")
- .arg("--unstable")
.arg("--no-check")
.arg(t.path())
.env("NO_COLOR", "1")
diff --git a/cli/tests/integration/worker_tests.rs b/cli/tests/integration/worker_tests.rs
index 7aa93118b..573863d4f 100644
--- a/cli/tests/integration/worker_tests.rs
+++ b/cli/tests/integration/worker_tests.rs
@@ -64,7 +64,7 @@ itest!(worker_permissions_remote_remote {
});
itest!(worker_permissions_dynamic_remote {
- args: "run --quiet --reload --allow-net --unstable workers/permissions_dynamic_remote.ts",
+ args: "run --quiet --reload --allow-net --unstable-worker-options workers/permissions_dynamic_remote.ts",
output: "workers/permissions_dynamic_remote.ts.out",
http_server: true,
exit_code: 1,
diff --git a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js b/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js
index 9f84afe35..0482be404 100644
--- a/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js
+++ b/cli/tests/testdata/npm/registry/@denotest/child-process-fork/1.0.0/index.js
@@ -2,7 +2,7 @@ const path = require("path");
function childProcessFork(path) {
const command = new Deno.Command(Deno.execPath(), {
- args: ["run", "--unstable", "-A", path],
+ args: ["run", "-A", path],
env: {
"DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE": Deno[Deno.internal].core.ops.op_npm_process_state(),
}
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_1.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_1.js.out
index 7c564be8c..fe172c2c6 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_1.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_1.js.out
@@ -1 +1 @@
-Unstable API 'Deno.dlopen'. The --unstable flag must be provided.
+Unstable API 'Deno.dlopen'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_10.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_10.js.out
index bf7e1bd4f..b9fe500b5 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_10.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_10.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getInt16'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getInt16'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_11.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_11.js.out
index 2d2d72666..74039db43 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_11.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_11.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getUint32'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getUint32'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_12.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_12.js.out
index 377d8e4a5..1a366b8c6 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_12.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_12.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getInt32'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getInt32'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_13.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_13.js.out
index 6ca67a6f2..93afbe5ed 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_13.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_13.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getBigUint64'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getBigUint64'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_14.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_14.js.out
index 11fcd5580..7f4c900f8 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_14.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_14.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getFloat32'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getFloat32'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_15.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_15.js.out
index 3015e5c91..5e2c55968 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_15.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_15.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getFloat64'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getFloat64'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_16.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_16.js.out
index d68870784..05362e5b3 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_16.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_16.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointer#value'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointer#value'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_17.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_17.js.out
index 294931243..c9d6ca821 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_17.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_17.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getArrayBuffer'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getArrayBuffer'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_18.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_18.js.out
index 6f7ea0d8f..2474f86bd 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_18.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_18.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointer#create'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointer#create'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_19.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_19.js.out
index 15a99b9ab..8d97f87e9 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_19.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_19.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointer#equals'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointer#equals'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_2.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_2.js.out
index cc4cc3dc6..094a69b5b 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_2.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_2.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafeFnPointer#call'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafeFnPointer#call'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_3.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_3.js.out
index cc4cc3dc6..094a69b5b 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_3.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_3.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafeFnPointer#call'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafeFnPointer#call'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_4.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_4.js.out
index e0f40f2ee..55bbc063d 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_4.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_4.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointer#of'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointer#of'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_5.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_5.js.out
index e3db6af26..81dd950ac 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_5.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_5.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#copyInto'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#copyInto'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_6.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_6.js.out
index c59f51d04..b48fc264f 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_6.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_6.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getCString'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getCString'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_7.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_7.js.out
index 6ab413537..935ebe195 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_7.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_7.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getUint8'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getUint8'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_8.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_8.js.out
index 338db2631..02883d0c3 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_8.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_8.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getInt8'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getInt8'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/ffi/unstable_ffi_9.js.out b/cli/tests/testdata/run/ffi/unstable_ffi_9.js.out
index fb6d75f14..97ac97017 100644
--- a/cli/tests/testdata/run/ffi/unstable_ffi_9.js.out
+++ b/cli/tests/testdata/run/ffi/unstable_ffi_9.js.out
@@ -1 +1 @@
-Unstable API 'Deno.UnsafePointerView#getUint16'. The --unstable flag must be provided.
+Unstable API 'Deno.UnsafePointerView#getUint16'. The `--unstable-ffi` flag must be provided.
diff --git a/cli/tests/testdata/run/unstable_worker_options.disabled.out b/cli/tests/testdata/run/unstable_worker_options.disabled.out
index 03f189c25..ba50ca539 100644
--- a/cli/tests/testdata/run/unstable_worker_options.disabled.out
+++ b/cli/tests/testdata/run/unstable_worker_options.disabled.out
@@ -1 +1 @@
-Unstable API 'Worker.deno.permissions'. The --unstable flag must be provided.
+Unstable API 'Worker.deno.permissions'. The `--unstable-worker-options` flag must be provided.