diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-12-01 14:11:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 15:11:02 +0100 |
commit | 108972c966d66691c64e90fcdde0584a910b96d5 (patch) | |
tree | 025790ae2719800e64a0d0565274a118b386586a /cli/tests/integration_tests.rs | |
parent | 447f3fe410c85e153a518474789682f2accab740 (diff) |
chore(cli/flags): Use deno compile --output for the out file (#8563)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 9 |
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() |