Skip to content

Commit

Permalink
to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Jan 9, 2024
1 parent db6a655 commit 747234d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/batsHeaders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ testCommand() {

output=$(echo -e "${output}" | sed -E "s#${HOME}#home#g")
# shellcheck disable=SC2154
echo -e "${output}" > "${rootDir}/megalinter-reports/${command}.help.txt"
diff <(echo -e "${output}") "${BATS_TEST_DIRNAME}/testsData/${expectedOutputFile}" >&3 || {
if [[ "${BATS_FIX_TEST}" = "1" ]]; then
echo -e "${output}" >"${BATS_TEST_DIRNAME}/testsData/${expectedOutputFile}"
Expand Down

0 comments on commit 747234d

Please sign in to comment.