bats on macOS runs under system bash 3.2, where a failing [[ ]] compound command mid-test does NOT trip the ERR trap — every mid-test [[ "$output" == *...* ]] assertion in the suite was decorative. Append '|| false' to all 123 standalone [[ ]] assertion lines so failures become plain-command failures, which bats catches. Full suite still green (133/133) — no latent false positives were hiding. |
||
|---|---|---|
| .. | ||
| secrets.bats | ||
| test_helper.bash | ||