Add tests to lacheck linter

This commit is contained in:
Horacio Sanson
2018-12-11 23:44:06 +09:00
parent a6a8c90126
commit 5052eca5cb
5 changed files with 50 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
Before:
call ale#assert#SetUpLinterTest('tex', 'lacheck')
After:
call ale#assert#TearDownLinterTest()
Execute(Executable should default to lacheck):
AssertLinter 'lacheck', ale#Escape('lacheck') . ' %t'
Execute(Should be able to set a custom executable):
let g:ale_tex_lacheck_executable = 'bin/foo'
AssertLinter 'bin/foo' , ale#Escape('bin/foo') . ' %t'