summaryrefslogtreecommitdiff
path: root/test/handler/test_lua_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-15 17:21:17 +0000
committerw0rp <devw0rp@gmail.com>2017-11-15 17:21:17 +0000
commitb14377915b9948454322cd95a86bcc298c03f77a (patch)
treefb67e7281a8778bd4a50676a2be7fb11fd846d54 /test/handler/test_lua_handler.vader
parente721f851b41b8f6f31067ae2a137019e1cb5546c (diff)
downloadale-b14377915b9948454322cd95a86bcc298c03f77a.zip
Clean up tests to stop people copy and pasting the wrong examples
Diffstat (limited to 'test/handler/test_lua_handler.vader')
-rw-r--r--test/handler/test_lua_handler.vader6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/handler/test_lua_handler.vader b/test/handler/test_lua_handler.vader
index 712c7c59..035dac24 100644
--- a/test/handler/test_lua_handler.vader
+++ b/test/handler/test_lua_handler.vader
@@ -1,13 +1,13 @@
Before:
Save g:ale_warn_about_trailing_whitespace
+ runtime ale_linters/lua/luacheck.vim
+
After:
Restore
call ale#linter#Reset()
Execute(The luacheck handler should parse lines correctly):
- runtime ale_linters/lua/luacheck.vim
-
AssertEqual
\ [
\ {
@@ -36,8 +36,6 @@ Execute(The luacheck handler should parse lines correctly):
\ ])
Execute(The luacheck handler should respect the warn_about_trailing_whitespace option):
- runtime ale_linters/lua/luacheck.vim
-
let g:ale_warn_about_trailing_whitespace = 0
AssertEqual