Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
spindle: fix skipped tests not actually being skipped
`if` effectively neuters `set -e`: ``` $ bash -c 'set -ex; f() { false; echo 123; }; if f; then echo 456; fi' + f + false + echo 123 123 + echo 456 456 ``` so the test keeps on running. Instead, we can rely on `exit` (which is not going to break as easily) + a subshell to make sure we actually catch error codes. (This might also cause other forms of test "failure" to not get detected, as well.)
Author
refi64.dev Committer Tangled Date (Jul 28, 2026, 11:40 AM UTC) Commit
Copy SHA
Parent 6b5b544c 6b5b544c4820b542251330f1bd568e645b5d157c Change ID Copy change ID