diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-23 10:34:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-23 10:34:01 +0900 |
| commit | d83647f390d2910547ada2854eee6189e8552cb8 (patch) | |
| tree | aa52933f9993e7b13390ab0bd7a54e56b4af513b /tests/010.sh | |
| parent | 22cd700370d5d548a0cbd347bf1dc9cb9baad8e2 (diff) | |
| download | ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.gz ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.zst ducc-d83647f390d2910547ada2854eee6189e8552cb8.zip | |
refactor: test helpers
Diffstat (limited to 'tests/010.sh')
| -rw-r--r-- | tests/010.sh | 6 |
1 files changed, 2 insertions, 4 deletions
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; |
