Test: Remove superfluous semicolons
This commit is contained in:
parent
29c4372f8b
commit
2fdfe801b8
14
tests.sh
14
tests.sh
@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets);
|
||||
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets)
|
||||
|
||||
if [[ $? -ne 1 ]]; then
|
||||
echo These snippet lines are indented with spaces:;
|
||||
echo;
|
||||
echo "$SPACED";
|
||||
echo;
|
||||
echo These snippet lines are indented with spaces:
|
||||
echo
|
||||
echo "$SPACED"
|
||||
echo
|
||||
echo Tests failed!
|
||||
exit 1;
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo Tests passed!
|
||||
exit 0;
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user