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

remove workaround for Bats issue #89 #1790

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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