Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bats-core/bats-support.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.bash b/src/output.bash
index c6cf6a6..10ca8ae 100644
--- a/src/output.bash
+++ b/src/output.bash
@@ -38,7 +38,7 @@ batslib_err() {
{ if (( $# > 0 )); then
echo "$@"
else
- cat -
+ PATH="$BATS_SAVED_PATH" command cat -
fi
} >&2
}
@@ -273,7 +273,7 @@ batslib_mark() {
batslib_decorate() {
echo
echo "-- $1 --"
- cat -
+ PATH="$BATS_SAVED_PATH" command cat -
echo '--'
echo
}