summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-06 01:00:30 +0100
committerw0rp <devw0rp@gmail.com>2018-07-06 01:00:30 +0100
commit0dd356aa52c8e4dd8e037f4687136572662d7b04 (patch)
tree96f5404686dcb33cf4defd550e5abd24483dd3c9 /test/lsp
parentd5b4f6f7e72747cdfaac9fb17c9d473ffe5b3249 (diff)
downloadale-0dd356aa52c8e4dd8e037f4687136572662d7b04.zip
Fix the broken tests
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/test_did_save_event.vader1
-rw-r--r--test/lsp/test_lsp_command_formatting.vader2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/lsp/test_did_save_event.vader b/test/lsp/test_did_save_event.vader
index 97774372..b696ee4b 100644
--- a/test/lsp/test_did_save_event.vader
+++ b/test/lsp/test_did_save_event.vader
@@ -75,6 +75,7 @@ After:
runtime autoload/ale/completion.vim
runtime autoload/ale/lsp.vim
+ runtime autoload/ale/lsp_linter.vim
Given foobar (Some imaginary filetype):
<contents>
diff --git a/test/lsp/test_lsp_command_formatting.vader b/test/lsp/test_lsp_command_formatting.vader
index 35c79096..f87f7f4f 100644
--- a/test/lsp/test_lsp_command_formatting.vader
+++ b/test/lsp/test_lsp_command_formatting.vader
@@ -32,6 +32,6 @@ Execute(Command formatting should be applied correctly for LSP linters):
\ g:args[:2]
else
AssertEqual
- \ ['true', ['/bin/bash', '-c', '''true'' --foo'], '/foo/bar'],
+ \ ['true', [&shell, '-c', '''true'' --foo'], '/foo/bar'],
\ g:args[:2]
endif