Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
PR #1790: remove workaround for sstephenson/bats#89
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill authored Dec 5, 2023
1 parent d9d9757 commit 783b54f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,6 @@ prerequisites_ok () {
fi
}

# Wrapper for Bats run() to work around Bats bug #89 by saving/restoring $IFS.
# See issues #552 and #555 and https://stackoverflow.com/a/32425874.
if type run &> /dev/null; then
eval bats_"$(declare -f run)"
fi
run () {
local ifs_old="$IFS"
bats_run "$@"
IFS="$ifs_old"
}

scope () {
if [[ -n $ch_one_test ]]; then
# Ignore scope if a single test is given.
Expand Down

0 comments on commit 783b54f

Please sign in to comment.