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
1 changed files with 8 additions and 0 deletions

View File

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