test: Add small test for weird bash spacing
This commit is contained in:
@@ -26,6 +26,11 @@ bad_files=$(
|
|||||||
if grep -q '^ ' "$i"; then
|
if grep -q '^ ' "$i"; then
|
||||||
echo "$i"
|
echo "$i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# search for files with weird semicolon, then pattern
|
||||||
|
if grep -q ';''then' "$i"; then
|
||||||
|
echo "$i"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user