summaryrefslogtreecommitdiff
path: root/test/test_no_linting_on_write_quit.vader
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2022-04-01 21:17:15 +0900
committerGitHub <noreply@github.com>2022-04-01 13:17:15 +0100
commit0f55d371e92160812ff0a57b5f48f2010a420f0c (patch)
tree5a291b2decb6fd3014126a468c005c2cbf524972 /test/test_no_linting_on_write_quit.vader
parente81f005c78193b9475b359751e9fae21f65c1c2b (diff)
downloadale-0f55d371e92160812ff0a57b5f48f2010a420f0c.zip
Add neovim 0.6 to run-tests (#3998)
* Update test scripts * Remove neovim 0.3 and 0.4 * Add neovim 0.6.1 Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: w0rp <devw0rp@gmail.com>
Diffstat (limited to 'test/test_no_linting_on_write_quit.vader')
-rw-r--r--test/test_no_linting_on_write_quit.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_no_linting_on_write_quit.vader b/test/test_no_linting_on_write_quit.vader
index 3e49b506..161e6165 100644
--- a/test/test_no_linting_on_write_quit.vader
+++ b/test/test_no_linting_on_write_quit.vader
@@ -60,7 +60,7 @@ Execute(No linting should be done on :wq or :x):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual 1, len(ale#test#GetLoclistWithoutModule())
+ AssertEqual 1, len(ale#test#GetLoclistWithoutNewerKeys())
" Now try doing it again, but where we run the quit event first.
call setloclist(0, [])
@@ -68,7 +68,7 @@ Execute(No linting should be done on :wq or :x):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual [], ale#test#GetLoclistWithoutModule()
+ AssertEqual [], ale#test#GetLoclistWithoutNewerKeys()
Execute(No linting should be for :w after :q fails):
let g:ale_lint_on_save = 1
@@ -83,7 +83,7 @@ Execute(No linting should be for :w after :q fails):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual 1, len(ale#test#GetLoclistWithoutModule())
+ AssertEqual 1, len(ale#test#GetLoclistWithoutNewerKeys())
Execute(No linting should be done on :wq or :x after fixing files):
let g:ale_lint_on_save = 1
@@ -92,7 +92,7 @@ Execute(No linting should be done on :wq or :x after fixing files):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual 1, len(ale#test#GetLoclistWithoutModule())
+ AssertEqual 1, len(ale#test#GetLoclistWithoutNewerKeys())
" Now try doing it again, but where we run the quit event first.
call setloclist(0, [])
@@ -100,7 +100,7 @@ Execute(No linting should be done on :wq or :x after fixing files):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual [], ale#test#GetLoclistWithoutModule()
+ AssertEqual [], ale#test#GetLoclistWithoutNewerKeys()
Execute(Linting should be done after :q fails and fixing files):
let g:ale_lint_on_save = 1
@@ -115,4 +115,4 @@ Execute(Linting should be done after :q fails and fixing files):
call ale#events#SaveEvent(bufnr(''))
call ale#test#FlushJobs()
- AssertEqual 1, len(ale#test#GetLoclistWithoutModule())
+ AssertEqual 1, len(ale#test#GetLoclistWithoutNewerKeys())