Skip to content

Commit 4cd31a6

Browse files
committed
Merge branch 'jc/test-say-color-avoid-echo-escape'
Recent nd/wildmatch series was the first to reveal this ancient bug in the test scaffolding. * jc/test-say-color-avoid-echo-escape: test-lib: Fix say_color () not to interpret \a\b\c in the message
2 parents 70d1825 + 7bc0911 commit 4cd31a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ else
230230
say_color() {
231231
test -z "$1" && test -n "$quiet" && return
232232
shift
233-
echo "$*"
233+
printf "%s\n" "$*"
234234
}
235235
fi
236236

0 commit comments

Comments
 (0)