Clean up the hdl_checker test a bit better
This commit is contained in:
parent
388cf33743
commit
1773a496ad
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue