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/010.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/010.sh') diff --git a/tests/010.sh b/tests/010.sh index df6601c..4ddf39c 100644 --- a/tests/010.sh +++ b/tests/010.sh @@ -1,6 +1,4 @@ -set -e - -bash ../../test_exit_code.sh 12 <<'EOF' +test_exit_code 12 <<'EOF' int main() { if (1) { return 12; @@ -10,7 +8,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 34 <<'EOF' +test_exit_code 34 <<'EOF' int main() { if (1 + 1 != 2) { return 12; -- cgit v1.2.3-70-g09d2