mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 13:14:29 +08:00
Clean up tests to stop people copy and pasting the wrong examples
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user