summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2022-11-25 12:58:14 +0000
committerw0rp <devw0rp@gmail.com>2022-11-25 12:58:14 +0000
commit46e77fad778344926f538748ccaa66cc28fa8152 (patch)
tree05f74b31ba2e02eeb9f6371a8dbcf0c93a86dc05 /test
parentcbf7045eee17f825e7ac4d4bf07efe0a3349810b (diff)
downloadale-46e77fad778344926f538748ccaa66cc28fa8152.zip
Remove a flaky smoke test we no longer need
Diffstat (limited to 'test')
-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