From 2303b05baab5b1a54f42d9d1ab2bff05970ebbb2 Mon Sep 17 00:00:00 2001 From: Fletcher Nichol Date: Thu, 18 Apr 2019 16:48:10 -0600 Subject: Add g:ale_sh_shellcheck_change_directory --- test/command_callback/test_shellcheck_command_callback.vader | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/command_callback/test_shellcheck_command_callback.vader') diff --git a/test/command_callback/test_shellcheck_command_callback.vader b/test/command_callback/test_shellcheck_command_callback.vader index fcdb184a..1d5b056b 100644 --- a/test/command_callback/test_shellcheck_command_callback.vader +++ b/test/command_callback/test_shellcheck_command_callback.vader @@ -14,6 +14,11 @@ After: Execute(The default shellcheck command should be correct): AssertLinter 'shellcheck', b:prefix . ale#Escape('shellcheck') . b:suffix +Execute(The option disabling changing directories should work): + let g:ale_sh_shellcheck_change_directory = 0 + + AssertLinter 'shellcheck', ale#Escape('shellcheck') . b:suffix + Execute(The shellcheck command should accept options): let b:ale_sh_shellcheck_options = '--foobar' -- cgit v1.2.3