From 9f679cd974a4cabb15562ed67602696bbba46e7a Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Sun, 27 Jul 2025 13:20:00 +0300 Subject: [PATCH] Make c tests produce full output This improves testing fidelity. --- tests/by-util/test_sed.rs | 2 -- tests/fixtures/sed/output/text_change_line | 13 +++++++++++++ tests/fixtures/sed/output/text_change_range | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_sed.rs b/tests/by-util/test_sed.rs index b63b034..5a8b0db 100644 --- a/tests/by-util/test_sed.rs +++ b/tests/by-util/test_sed.rs @@ -595,7 +595,6 @@ hello check_output_posix!( text_change_line, [ - "-n", "-e", r#" 8c\ @@ -608,7 +607,6 @@ hello check_output_posix!( text_change_range, [ - "-n", "-e", r#" 3,14c\ diff --git a/tests/fixtures/sed/output/text_change_line b/tests/fixtures/sed/output/text_change_line index ce01362..4d1aeb6 100644 --- a/tests/fixtures/sed/output/text_change_line +++ b/tests/fixtures/sed/output/text_change_line @@ -1 +1,14 @@ +l1_1 +l1_2 +l1_3 +l1_4 +l1_5 +l1_6 +l1_7 hello +l1_9 +l1_10 +l1_11 +l1_12 +l1_13 +l1_14 diff --git a/tests/fixtures/sed/output/text_change_range b/tests/fixtures/sed/output/text_change_range index ce01362..760fdd2 100644 --- a/tests/fixtures/sed/output/text_change_range +++ b/tests/fixtures/sed/output/text_change_range @@ -1 +1,3 @@ +l1_1 +l1_2 hello