1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/tests.sh

16 lines
256 B
Bash
Raw Normal View History

2015-07-13 06:22:46 -04:00
#!/usr/bin/env bash
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets);
if [[ $? -ne 1 ]]; then
echo These snippet lines are indented with spaces:;
echo;
echo "$SPACED";
echo;
echo Tests failed!
exit 1;
fi
echo Tests passed!
exit 0;