summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-02-10 22:10:18 +0000
committerw0rp <devw0rp@gmail.com>2021-02-10 22:10:18 +0000
commit1773a496ad39fdd3d904679955b39357f3f38442 (patch)
treef32458b48754a97dae19d874636337a0f5fc6fc3
parent388cf3374312b05122151bc68691bf09a69ff840 (diff)
downloadale-1773a496ad39fdd3d904679955b39357f3f38442.zip
Clean up the hdl_checker test a bit better
-rw-r--r--test/test_hdl_checker_options.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_hdl_checker_options.vader b/test/test_hdl_checker_options.vader
index 4bee0f55..f93e3c1a 100644
--- a/test/test_hdl_checker_options.vader
+++ b/test/test_hdl_checker_options.vader
@@ -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