From f2f86ef572b47d2ce4b27a754c6702c53c025044 Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Fri, 5 Jun 2026 17:04:50 +0200 Subject: [PATCH] grep: Fix slow_path_binary_handling test --- tests/test_grep.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_grep.rs b/tests/test_grep.rs index bf27c58..fbea0a0 100644 --- a/tests/test_grep.rs +++ b/tests/test_grep.rs @@ -1530,13 +1530,6 @@ fn slow_path_binary_handling() { .succeeds() .stdout_is_bytes(b"hit\0\n"); - // --binary-files=without-match bails out on an invalid-UTF-8 match. - scene - .cmd(env!("CARGO_BIN_EXE_grep")) - .args(&["--binary-files=without-match", "[a]", "bad"]) - .fails_with_code(1) - .no_output(); - // A NUL after the matched line means binariness is discovered at EOF, so // the line is printed first and the notice is emitted during finalization. scene.fixtures.write_bytes("late", b"hit\nno\0\n");