From 108972c966d66691c64e90fcdde0584a910b96d5 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 1 Dec 2020 14:11:02 +0000 Subject: chore(cli/flags): Use deno compile --output for the out file (#8563) --- cli/tests/integration_tests.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cli/tests') 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() -- cgit v1.2.3