test: Improve bash fmt test
This catches slightly more issues.
This commit is contained in:
@@ -22,8 +22,8 @@ bad_files=$(
|
|||||||
echo "$M"
|
echo "$M"
|
||||||
fi
|
fi
|
||||||
for i in $(find_files); do
|
for i in $(find_files); do
|
||||||
# search for more than one leading space, to ensure we use tabs
|
# search for at least one leading space, to ensure we use tabs
|
||||||
if grep -q '^ ' "$i"; then
|
if grep -q '^ ' "$i"; then
|
||||||
echo "$i"
|
echo "$i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user