From 4bba0009ca53c22c24081b0ba716e68844f282b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Justo?= Date: Sun, 25 Aug 2024 12:19:48 +0200 Subject: [PATCH] t4124: move test preparation into the test context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rubén Justo Signed-off-by: Junio C Hamano --- t/t4124-apply-ws-rule.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/t/t4124-apply-ws-rule.sh b/t/t4124-apply-ws-rule.sh index e12b8333c38b58..56f15dc3ef1ad3 100755 --- a/t/t4124-apply-ws-rule.sh +++ b/t/t4124-apply-ws-rule.sh @@ -423,14 +423,8 @@ test_expect_success 'missing blanks at EOF must only match blank lines' ' test_must_fail git apply --ignore-space-change --whitespace=fix patch ' -sed -e's/Z//' >one <one && git add one && echo d >>one && git diff -- one >patch && @@ -443,14 +437,8 @@ test_expect_success 'missing blank line should match context line with spaces' ' test_cmp expect one ' -sed -e's/Z//' >one <one && git add one && echo d >>one && cp one expect &&