From e573b3020c032400eed60b649a2cbf55266e6bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:03:25 +0200 Subject: Add current configurations from old repository --- vim/bundle/vim-snippets/tests.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 vim/bundle/vim-snippets/tests.sh (limited to 'vim/bundle/vim-snippets/tests.sh') diff --git a/vim/bundle/vim-snippets/tests.sh b/vim/bundle/vim-snippets/tests.sh new file mode 100755 index 0000000..07f0ff3 --- /dev/null +++ b/vim/bundle/vim-snippets/tests.sh @@ -0,0 +1,15 @@ +#!/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 -- cgit v1.2.3