mirror of
https://github.com/dense-analysis/ale.git
synced 2026-08-13 11:20:59 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('nim', 'nimlsp')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(It does not set nim sources by default):
|
||||
AssertLinter 'nimlsp', ale#Escape('nimlsp')
|
||||
|
||||
Execute(Sets nimlsp and escapes sources from g:ale_nim_nimlsp_nim_sources):
|
||||
let g:ale_nim_nimlsp_nim_sources = '/path/to /Nim'
|
||||
AssertLinter 'nimlsp', ale#Escape('nimlsp') . ' ' . ale#Escape('/path/to /Nim')
|
||||
Reference in New Issue
Block a user