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 --- .gitattributes | 1 + tests/cli_tests.rs | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..96d8c49 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/testdata/parse/*.txt text eol=lf 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