mirror of
https://github.com/sstephenson/bats.git
synced 2024-12-27 06:59:45 +01:00
Update bats-preprocess
This commit is contained in:
parent
3e28a098ad
commit
ffaf48f3b7
|
@ -37,7 +37,7 @@ while IFS= read -r line; do
|
||||||
let index+=1
|
let index+=1
|
||||||
if [[ "$line" =~ $pattern ]]; then
|
if [[ "$line" =~ $pattern ]]; then
|
||||||
quoted_name="${BASH_REMATCH[3]}"
|
quoted_name="${BASH_REMATCH[3]}"
|
||||||
if [ -n "${BASH_REMATCH[2]}" ; then
|
if [ -n "${BASH_REMATCH[2]}" ] ; then
|
||||||
encoded_name="test_${BASH_REMATCH[2]}"
|
encoded_name="test_${BASH_REMATCH[2]}"
|
||||||
else
|
else
|
||||||
name="$(eval echo "$quoted_name")"
|
name="$(eval echo "$quoted_name")"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user