From 21d0648cd64cc24703d072ee070676ee9ae6ca30 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 29 Sep 2026 17:54:31 +0200 Subject: Fix release test pipe race and fixture line endings --- tests/cli_tests.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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()); -- cgit v1.3.1