summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/script/custom-checks1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/script/custom-checks b/test/script/custom-checks
index aad16c9c..3624ffd7 100755
--- a/test/script/custom-checks
+++ b/test/script/custom-checks
@@ -75,6 +75,7 @@ fi
check_errors \
'^function.*) *$' \
'Function without abort keyword (See :help except-compat)'
+check_errors '^function[^!]' 'function without !'
check_errors ' \+$' 'Trailing whitespace'
check_errors '^ * end\?i\? *$' 'Write endif, not en, end, or endi'
check_errors '^ [^ ]' 'Use four spaces, not two spaces'