This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/test_linting_blacklist.vader
w0rp 81c73da3b9
#2132 - lint and fix with ale#command#Run
A new function is added here which will later be modified for public use
in linter and fixer callbacks. All linting and fixing now goes through
this new function, to prove that it works in all cases.
2019-02-06 22:00:11 +00:00

16 lines
318 B
Text

Before:
let g:ale_buffer_info = {}
After:
call ale#engine#Cleanup(bufnr(''))
let g:ale_buffer_info = {}
Given unite (A Unite.vim file):
anything
Execute(Running ALE on a blacklisted file shouldn't change anything):
call ale#Queue(0)
call ale#test#WaitForJobs(2000)
AssertEqual {}, g:ale_buffer_info