aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/083.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
committernsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
commitd83647f390d2910547ada2854eee6189e8552cb8 (patch)
treeaa52933f9993e7b13390ab0bd7a54e56b4af513b /tests/083.sh
parent22cd700370d5d548a0cbd347bf1dc9cb9baad8e2 (diff)
downloadducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.gz
ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.zst
ducc-d83647f390d2910547ada2854eee6189e8552cb8.zip
refactor: test helpers
Diffstat (limited to 'tests/083.sh')
-rw-r--r--tests/083.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/083.sh b/tests/083.sh
index 7502cf3..64d03e5 100644
--- a/tests/083.sh
+++ b/tests/083.sh
@@ -1,10 +1,8 @@
-set -e
-
cat <<'EOF' > expected
main.c:1: unknown preprocessor directive (foo)
EOF
-bash ../../test_compile_error.sh <<'EOF'
+test_compile_error <<'EOF'
#foo
int main() {}
@@ -14,7 +12,7 @@ cat <<'EOF' > expected
main.c:1: unknown preprocessor directive (bar)
EOF
-bash ../../test_compile_error.sh <<'EOF'
+test_compile_error <<'EOF'
# bar 1 2 3
int main() {}