diff --git a/test/test-bashfmt.sh b/test/test-bashfmt.sh index 58140c37..2a3838d0 100755 --- a/test/test-bashfmt.sh +++ b/test/test-bashfmt.sh @@ -22,8 +22,8 @@ bad_files=$( echo "$M" fi for i in $(find_files); do - # search for more than one leading space, to ensure we use tabs - if grep -q '^ ' "$i"; then + # search for at least one leading space, to ensure we use tabs + if grep -q '^ ' "$i"; then echo "$i" fi