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
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets);
|
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets)
|
||||||
|
|
||||||
if [[ $? -ne 1 ]]; then
|
if [[ $? -ne 1 ]]; then
|
||||||
echo These snippet lines are indented with spaces:;
|
echo These snippet lines are indented with spaces:
|
||||||
echo;
|
echo
|
||||||
echo "$SPACED";
|
echo "$SPACED"
|
||||||
echo;
|
echo
|
||||||
echo Tests failed!
|
echo Tests failed!
|
||||||
exit 1;
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Tests passed!
|
echo Tests passed!
|
||||||
exit 0;
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user