summaryrefslogtreecommitdiff
path: root/test/smoke_test.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-10-29 11:29:12 +0000
committerw0rp <devw0rp@gmail.com>2018-10-29 11:29:21 +0000
commit2846e862178e9a16e078799c28aa9d9d4a2ea505 (patch)
tree280fdf12616e46090cd4be58930a8b395ebbb43b /test/smoke_test.vader
parent9dbebf1cb3909c47a69c07397a84da1369cf98d0 (diff)
downloadale-2846e862178e9a16e078799c28aa9d9d4a2ea505.zip
#2017 Simplify lint cycles for supporting other sources later
Diffstat (limited to 'test/smoke_test.vader')
-rw-r--r--test/smoke_test.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/smoke_test.vader b/test/smoke_test.vader
index 2708c86f..c87f95b2 100644
--- a/test/smoke_test.vader
+++ b/test/smoke_test.vader
@@ -65,7 +65,7 @@ Execute(Linters should run with the default options):
" Try the test a few times over in NeoVim 0.3 or Windows,
" where tests fail randomly.
for g:i in range(has('nvim-0.3') || has('win32') ? 5 : 1)
- call ale#Lint()
+ call ale#Queue(0, '')
call ale#engine#WaitForJobs(2000)
let g:results = ale#test#GetLoclistWithoutModule()
@@ -109,7 +109,7 @@ Execute(Linters should run in PowerShell too):
\ 'command': 'echo foo && echo bar',
\})
- call ale#Lint()
+ call ale#Queue(0, '')
call ale#engine#WaitForJobs(4000)
AssertEqual [
@@ -139,7 +139,7 @@ Execute(Linters should run in PowerShell too):
endif
Execute(Previous errors should be removed when linters change):
- call ale#Lint()
+ call ale#Queue(0, '')
call ale#engine#WaitForJobs(2000)
call ale#linter#Reset()
@@ -166,7 +166,7 @@ Execute(Previous errors should be removed when linters change):
" Try the test a few times over in NeoVim 0.3 or Windows,
" where tests fail randomly.
for g:i in range(has('nvim-0.3') || has('win32') ? 5 : 1)
- call ale#Lint()
+ call ale#Queue(0, '')
call ale#engine#WaitForJobs(2000)
let g:results = ale#test#GetLoclistWithoutModule()