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.
This commit is contained in:
w0rp
2020-08-16 21:19:07 +01:00
parent 5ceda0164c
commit 5c778e1ae7
10 changed files with 41 additions and 0 deletions

View File

@@ -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