From d83647f390d2910547ada2854eee6189e8552cb8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 23 Aug 2025 10:34:01 +0900 Subject: refactor: test helpers --- tests/047.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/047.sh') diff --git a/tests/047.sh b/tests/047.sh index f50ee69..57d0d8f 100644 --- a/tests/047.sh +++ b/tests/047.sh @@ -1,5 +1,3 @@ -set -e - cat <<'EOF' > expected body 0 foo 1 @@ -12,7 +10,7 @@ foo 4 body 4 foo 5 EOF -bash ../../test_diff.sh <<'EOF' +test_diff <<'EOF' int printf(); int foo(int i) { @@ -38,7 +36,7 @@ body 1 foo 2 body 2 EOF -bash ../../test_diff.sh <<'EOF' +test_diff <<'EOF' int printf(); int foo(int i) { @@ -70,7 +68,7 @@ foo 4 body 5 foo 5 EOF -bash ../../test_diff.sh <<'EOF' +test_diff <<'EOF' int printf(); int foo(int i) { -- cgit v1.2.3-70-g09d2