Files
ale/test/linter/test_yara_yls.vader
2025-03-18 11:38:47 +00:00

20 lines
448 B
Plaintext

Before:
call ale#assert#SetUpLinterTest('yara', 'yls')
After:
if isdirectory(g:dir . '/.git')
call delete(g:dir . '/.git', 'd')
endif
call ale#assert#TearDownLinterTest()
Execute(The default executable path should be correct):
AssertLinter 'yls', ale#Escape('yls') . ' -v'
Execute(The project root should be detected correctly):
if !isdirectory(g:dir . '/.git')
call mkdir(g:dir . '/.git')
endif
AssertLSPProject g:dir