diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-15 12:00:08 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-15 12:00:13 +0000 |
commit | e12e5c912cd42abe4aebf54c21f57f5a8c735dc6 (patch) | |
tree | 8420bc7774e313ae2f3990d4906ab17cbbe05e9e /test/script | |
parent | 38bc4896042eda8eeb7ca7fbff70520d58925ced (diff) | |
download | ale-e12e5c912cd42abe4aebf54c21f57f5a8c735dc6.zip |
Complain about stray echo lines in the codebase
Diffstat (limited to 'test/script')
-rwxr-xr-x | test/script/custom-checks | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/script/custom-checks b/test/script/custom-checks index a1a734d8..e2c906b3 100755 --- a/test/script/custom-checks +++ b/test/script/custom-checks @@ -90,5 +90,6 @@ check_errors '==#' "Use 'is#' instead of '==#'. 0 ==# 'foobar' is true" check_errors '==?' "Use 'is?' instead of '==?'. 0 ==? 'foobar' is true" check_errors '!=#' "Use 'isnot#' instead of '!=#'. 0 !=# 'foobar' is false" check_errors '!=?' "Use 'isnot?' instead of '!=?'. 0 !=? 'foobar' is false" +check_errors '^ *:\?echo' "Stray echo line. Use \`execute echo\` if you want to echo something" exit $RETURN_CODE |