diff options
Diffstat (limited to 'cli/tests/integration/compile_tests.rs')
-rw-r--r-- | cli/tests/integration/compile_tests.rs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs index 5c9a7f074..dea17e598 100644 --- a/cli/tests/integration/compile_tests.rs +++ b/cli/tests/integration/compile_tests.rs @@ -53,7 +53,7 @@ fn standalone_args() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./028_args.ts") + .arg("./compile/args.ts") .arg("a") .arg("b") .stdout(std::process::Stdio::piped()) @@ -90,7 +90,7 @@ fn standalone_error() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./standalone_error.ts") + .arg("./compile/standalone_error.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -135,7 +135,7 @@ fn standalone_error_module_with_imports() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./standalone_error_module_with_imports_1.ts") + .arg("./compile/standalone_error_module_with_imports_1.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -177,7 +177,7 @@ fn standalone_load_datauri() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./standalone_import_datauri.ts") + .arg("./compile/standalone_import_datauri.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -210,7 +210,7 @@ fn standalone_follow_redirects() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./standalone_follow_redirects.ts") + .arg("./compile/standalone_follow_redirects.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -244,7 +244,7 @@ fn compile_with_file_exists_error() { .arg("--unstable") .arg("--output") .arg(&output_path) - .arg("./028_args.ts") + .arg("./compile/args.ts") .stderr(std::process::Stdio::piped()) .spawn() .unwrap() @@ -278,7 +278,7 @@ fn compile_with_directory_exists_error() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./028_args.ts") + .arg("./compile/args.ts") .stderr(std::process::Stdio::piped()) .spawn() .unwrap() @@ -312,7 +312,7 @@ fn compile_with_conflict_file_exists_error() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./028_args.ts") + .arg("./compile/args.ts") .stderr(std::process::Stdio::piped()) .spawn() .unwrap() @@ -349,7 +349,7 @@ fn compile_and_overwrite_file() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./028_args.ts") + .arg("./compile/args.ts") .stderr(std::process::Stdio::piped()) .spawn() .unwrap() @@ -364,7 +364,7 @@ fn compile_and_overwrite_file() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./028_args.ts") + .arg("./compile/args.ts") .stderr(std::process::Stdio::piped()) .spawn() .unwrap() @@ -390,7 +390,7 @@ fn standalone_runtime_flags() { .arg("1") .arg("--output") .arg(&exe) - .arg("./standalone_runtime_flags.ts") + .arg("./compile/standalone_runtime_flags.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -426,10 +426,10 @@ fn standalone_import_map() { .arg("--unstable") .arg("--allow-read") .arg("--import-map") - .arg("standalone_import_map.json") + .arg("compile/standalone_import_map.json") .arg("--output") .arg(&exe) - .arg("./standalone_import_map.ts") + .arg("./compile/standalone_import_map.ts") .stdout(std::process::Stdio::piped()) .spawn() .unwrap() @@ -461,7 +461,7 @@ fn skip_rebundle() { .arg("--unstable") .arg("--output") .arg(&exe) - .arg("./001_hello.js") + .arg("./run/001_hello.js") .stdout(std::process::Stdio::piped()) .stderr(std::process::Stdio::piped()) .spawn() @@ -470,7 +470,7 @@ fn skip_rebundle() { .unwrap(); assert!(output.status.success()); - //no "Bundle testdata_path/001_hello.js" in output + //no "Bundle testdata_path/run/001_hello.js" in output assert!(!String::from_utf8(output.stderr).unwrap().contains("Bundle")); let output = Command::new(exe) |