mirror of
https://github.com/sstephenson/bats.git
synced 2025-12-07 08:53:30 +01:00
Merge d2067db1b4 into 5030f53ecc
This commit is contained in:
commit
97e2ddcf32
|
|
@ -34,7 +34,7 @@ index=0
|
|||
|
||||
while IFS= read -r line; do
|
||||
index=$(($index + 1))
|
||||
quoted_name="$(expr "$line" : '^ *@test *\([^ ].*\) *{ *$' || true)"
|
||||
quoted_name="$(expr "$line" : ' *@test *\([^ ].*\) *{ *$' || true)"
|
||||
|
||||
if [ -n "$quoted_name" ]; then
|
||||
name="$(eval echo "$quoted_name")"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user