Commit e287791
authored
Replace ((TESTED++)) with TESTED=$((TESTED + 1)) to avoid returning
exit status 1 when TESTED is 0. The post-increment expression evaluates
to 0, which bash treats as false, causing issues with set -e and
incorrect exit status reporting in IDE terminals.
1 parent e7863fa commit e287791
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments