mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-25 09:18:10 +01:00
Merge pull request #6 from mislav/echo-e-fix
fix preprocessing tests that have lines beginning with -e
This commit is contained in:
@@ -42,7 +42,7 @@ while IFS= read -r line; do
|
||||
tests["${#tests[@]}"]="$encoded_name"
|
||||
echo "${encoded_name}() { bats_test_info ${quoted_name} ${index}"
|
||||
else
|
||||
echo "$line"
|
||||
printf "%s\n" "$line"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user