aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/059.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/059.sh')
-rw-r--r--tests/059.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/059.sh b/tests/059.sh
index 80a6e10..189ff5e 100644
--- a/tests/059.sh
+++ b/tests/059.sh
@@ -1,10 +1,8 @@
-set -e
-
cat <<'EOF' > expected
main.c:1: expected '{', but got '}'
EOF
-bash ../../test_compile_error.sh <<'EOF'
+test_compile_error <<'EOF'
int main() }
EOF
@@ -12,6 +10,6 @@ cat <<'EOF' > expected
main.c:1: expected '{', but got '123 (<integer>)'
EOF
-bash ../../test_compile_error.sh <<'EOF'
+test_compile_error <<'EOF'
int main() 123
EOF