From 66ff378a31f5469102caefb370f562d1eaf89177 Mon Sep 17 00:00:00 2001 From: Martin Schulze <37703201+martin-schulze-vireso@users.noreply.github.com> Date: Fri, 30 Jul 2021 11:17:37 +0200 Subject: [PATCH] Fix anchor link --- SC2293.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.