summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration_tests.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index f80838011..4b8d274c7 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -4547,8 +4547,9 @@ fn compile() {
.current_dir(util::root_path())
.arg("compile")
.arg("--unstable")
- .arg("./std/examples/welcome.ts")
+ .arg("--output")
.arg(&exe)
+ .arg("./std/examples/welcome.ts")
.stdout(std::process::Stdio::piped())
.spawn()
.unwrap()
@@ -4577,8 +4578,9 @@ fn standalone_args() {
.current_dir(util::root_path())
.arg("compile")
.arg("--unstable")
- .arg("./cli/tests/028_args.ts")
+ .arg("--output")
.arg(&exe)
+ .arg("./cli/tests/028_args.ts")
.stdout(std::process::Stdio::piped())
.spawn()
.unwrap()
@@ -4610,8 +4612,9 @@ fn standalone_no_module_load() {
.current_dir(util::root_path())
.arg("compile")
.arg("--unstable")
- .arg("./cli/tests/standalone_import.ts")
+ .arg("--output")
.arg(&exe)
+ .arg("./cli/tests/standalone_import.ts")
.stdout(std::process::Stdio::piped())
.spawn()
.unwrap()