From 5c778e1ae752163a849609318ace6c3c6a37d6f7 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 16 Aug 2020 21:19:07 +0100 Subject: Make it easier to run tests locally Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks. --- test/lsp/test_lsp_command_formatting.vader | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/lsp') diff --git a/test/lsp/test_lsp_command_formatting.vader b/test/lsp/test_lsp_command_formatting.vader index ec3b4120..2c1e8788 100644 --- a/test/lsp/test_lsp_command_formatting.vader +++ b/test/lsp/test_lsp_command_formatting.vader @@ -1,6 +1,10 @@ Before: + Save g:ale_command_wrapper + runtime autoload/ale/lsp.vim + let g:ale_command_wrapper = '' + let g:args = [] " Mock the StartProgram function so we can just capture the arguments. @@ -9,6 +13,8 @@ Before: endfunction After: + Restore + unlet! g:args runtime autoload/ale/lsp.vim -- cgit v1.2.3