Skip to content

Commit

Permalink
BATS: enable strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Feb 9, 2022
1 parent ee4598e commit aaeff2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ setup() {
git config --global user.name "John Doe"
git config --global user.email "[email protected]"

set -Eeuo pipefail
local_setup
}

teardown() {
local_teardown
set +Eeuo pipefail

rm -rf "${BASH_IT_TEST_DIR}"
temp_del "${TEST_TEMP_DIR}"
Expand Down

0 comments on commit aaeff2f

Please sign in to comment.