diff --git a/tests.sh b/tests.sh index 5b93b6b..07f0ff3 100755 --- a/tests.sh +++ b/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