aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-09-29 17:54:31 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-09-29 17:54:31 +0200
commit21d0648cd64cc24703d072ee070676ee9ae6ca30 (patch)
tree4a8d59e1db0a740c1e011e185b5e5c85ce3179c7 /tests
parenta489aaf4332df58886205cebeffb983819dfef96 (diff)
downloadele-21d0648cd64cc24703d072ee070676ee9ae6ca30.tar.gz
ele-21d0648cd64cc24703d072ee070676ee9ae6ca30.zip
Fix release test pipe race and fixture line endings
Diffstat (limited to 'tests')
-rw-r--r--tests/cli_tests.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cli_tests.rs b/tests/cli_tests.rs
index 76c9078..ca817ed 100644
--- a/tests/cli_tests.rs
+++ b/tests/cli_tests.rs
@@ -139,7 +139,11 @@ fn empty_filter_and_print_mode() {
let output = run("", input, &[]);
assert!(output.status.success());
assert_eq!(output.stdout, input.as_bytes());
- let output = run("", input, &["--print"]);
+ let output = Command::new(env!("CARGO_BIN_EXE_aif"))
+ .args(["--print", ""])
+ .stdin(Stdio::null())
+ .output()
+ .unwrap();
assert!(output.status.success());
assert!(output.stdout.is_empty());