diff --git a/libexec/bats-preprocess b/libexec/bats-preprocess index 04297ed..91a86e0 100755 --- a/libexec/bats-preprocess +++ b/libexec/bats-preprocess @@ -9,7 +9,7 @@ encode_name() { name="${name//_/-5f}" name="${name//-/-2d}" name="${name// /_}" - result+="$name" + result="$result$name" else local length="${#name}" local char i @@ -17,11 +17,11 @@ encode_name() { for ((i=0; i