summaryrefslogtreecommitdiff
path: root/test/smoke_test.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/smoke_test.vader')
-rw-r--r--test/smoke_test.vader40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/smoke_test.vader b/test/smoke_test.vader
index 1a984dec..49634c34 100644
--- a/test/smoke_test.vader
+++ b/test/smoke_test.vader
@@ -139,43 +139,3 @@ Execute(Linters should run in PowerShell too):
\ },
\], ale#test#GetLoclistWithoutNewerKeys()
endif
-
-Execute(Previous errors should be removed when linters change):
- call ale#Queue(0, '')
- call ale#test#WaitForJobs(2000)
-
- call ale#linter#Reset()
-
- call ale#linter#Define('foobar', {
- \ 'name': 'testlinter2',
- \ 'callback': 'TestCallback2',
- \ 'executable': has('win32') ? 'cmd' : 'echo',
- \ 'command': has('win32') ? 'echo baz boz' : '/bin/sh -c ''echo baz boz''',
- \})
-
- let g:expected_results = [{
- \ 'bufnr': bufnr('%'),
- \ 'lnum': 3,
- \ 'vcol': 0,
- \ 'col': 4,
- \ 'text': 'baz boz',
- \ 'type': 'E',
- \ 'nr': -1,
- \ 'pattern': '',
- \ 'valid': 1,
- \}]
-
- " Try the test a few times over in NeoVim 0.3 or VIm 8.2 or Windows,
- " where tests fail randomly.
- for g:i in range(has('nvim-0.3') || has('win32') || has('patch-8.2.2401') ? 5 : 1)
- call ale#Queue(0, '')
- call ale#test#WaitForJobs(2000)
-
- let g:results = ale#test#GetLoclistWithoutNewerKeys()
-
- if g:results == g:expected_results
- break
- endif
- endfor
-
- AssertEqual g:expected_results, g:results