diff --git a/SC2293.md b/SC2293.md index b95ad75..d1837e4 100644 --- a/SC2293.md +++ b/SC2293.md @@ -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`.