From 1773a496ad39fdd3d904679955b39357f3f38442 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 10 Feb 2021 22:10:18 +0000 Subject: Clean up the hdl_checker test a bit better --- test/test_hdl_checker_options.vader | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3