diff options
author | Holden <holden@axoni.com> | 2019-01-02 19:05:51 -0500 |
---|---|---|
committer | Holden <holden@axoni.com> | 2019-01-02 19:05:51 -0500 |
commit | 5f613a5fd69f4135d892a71b1f825f062ff45758 (patch) | |
tree | 3eb615bb5076687f4e75a0aa7b562d70ba37d138 /test | |
parent | 8550fa605958bff90d727cde949ae2b06b870f8f (diff) | |
download | ale-5f613a5fd69f4135d892a71b1f825f062ff45758.zip |
change ale to use value of g:ale_shell regardless of what it is
Diffstat (limited to 'test')
-rw-r--r-- | test/fix/test_ale_fix.vader | 2 | ||||
-rw-r--r-- | test/lsp/test_lsp_command_formatting.vader | 2 | ||||
-rw-r--r-- | test/test_prepare_command.vader | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader index ac15bc05..90407681 100644 --- a/test/fix/test_ale_fix.vader +++ b/test/fix/test_ale_fix.vader @@ -26,7 +26,7 @@ Before: augroup END if !has('win32') - let g:ale_shell = '/bin/bash' + let &shell = '/bin/bash' endif call ale#test#SetDirectory('/testplugin/test') diff --git a/test/lsp/test_lsp_command_formatting.vader b/test/lsp/test_lsp_command_formatting.vader index 33928291..9721f37f 100644 --- a/test/lsp/test_lsp_command_formatting.vader +++ b/test/lsp/test_lsp_command_formatting.vader @@ -31,6 +31,6 @@ Execute(Command formatting should be applied correctly for LSP linters): \ g:args else AssertEqual - \ ['true', [g:ale_shell, '-c', '''true'' --foo']], + \ ['true', [&shell, '-c', '''true'' --foo']], \ g:args endif diff --git a/test/test_prepare_command.vader b/test/test_prepare_command.vader index 660235cc..f90c881b 100644 --- a/test/test_prepare_command.vader +++ b/test/test_prepare_command.vader @@ -4,7 +4,7 @@ Before: After: Restore - let g:ale_shell = &shell + let g:ale_shell = v:null Execute(sh should be used when the shell is fish): if !has('win32') |