test: Add small test for weird bash spacing

This commit is contained in:
James Shubin
2021-06-21 18:28:05 -04:00
parent 530c5a64fb
commit 390b41bc26
2 changed files with 8 additions and 3 deletions

View File

@@ -26,6 +26,11 @@ bad_files=$(
if grep -q '^ ' "$i"; then
echo "$i"
fi
# search for files with weird semicolon, then pattern
if grep -q ';''then' "$i"; then
echo "$i"
fi
done
)