diff options
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | tests/cli_tests.rs | 6 |
2 files changed, 6 insertions, 1 deletions
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()); |
