mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Fix anchor link
@@ -27,7 +27,7 @@
|
||||
### Rationale:
|
||||
|
||||
Bats uses `set -e` and `trap ERR` to catch test failures as early as possible.
|
||||
Although the return code of a `!` negated command is inverted, they will never trigger `errexit`, due to a bash design decision (see [Related Resources](#Related resources))).
|
||||
Although the return code of a `!` negated command is inverted, they will never trigger `errexit`, due to a bash design decision (see [Related Resources](#related-resources)).
|
||||
This means that tests which use `!` can never fail.
|
||||
|
||||
Starting with bats 1.5.0 you can use `!` inside `run`.
|
||||
|
Reference in New Issue
Block a user