summaryrefslogtreecommitdiff
path: root/test/command_callback/test_shellcheck_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_shellcheck_command_callback.vader')
-rw-r--r--test/command_callback/test_shellcheck_command_callback.vader5
1 files changed, 5 insertions, 0 deletions
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'