mirror of
https://github.com/dense-analysis/ale.git
synced 2026-03-14 02:36:50 +08:00
Clean up tests to stop people copy and pasting the wrong examples
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
Before:
|
||||
Save g:ale_python_pycodestyle_executable
|
||||
Save g:ale_python_pycodestyle_options
|
||||
Save g:ale_python_pycodestyle_use_global
|
||||
|
||||
runtime ale_linters/python/pycodestyle.vim
|
||||
Save g:ale_python_pycodestyle_executable,
|
||||
\ g:ale_python_pycodestyle_options,
|
||||
\ g:ale_python_pycodestyle_use_global
|
||||
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
Restore
|
||||
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The pycodestyle command callback should return default string):
|
||||
AssertEqual ale#Escape('pycodestyle') . ' -',
|
||||
\ ale_linters#python#pycodestyle#GetCommand(bufnr(''))
|
||||
|
||||
Reference in New Issue
Block a user