Clean up the hdl_checker test a bit better

This commit is contained in:
w0rp 2021-02-10 22:10:18 +00:00
parent 388cf33743
commit 1773a496ad
No known key found for this signature in database
GPG key ID: 0FC1ECAA8C81CD83

View file

@ -1,15 +1,23 @@
Before:
call ale#assert#SetUpLinterTest('vhdl', 'hdl_checker')
Save g:ale_hdl_checker_executable
Save g:ale_hdl_checker_config_file
Save g:ale_hdl_checker_options
let g:default_config_file = has('unix') ? '.hdl_checker.config' : '_hdl_checker.config'
runtime autoload/ale/handlers/hdl_checker.vim
After:
Restore
call ale#assert#TearDownLinterTest()
unlet! g:default_config_file
unlet! g:call_count
runtime autoload/ale/handlers/hdl_checker.vim
Execute(Get default initialization dict):
AssertEqual