summaryrefslogtreecommitdiff
path: root/test/completion/test_completion_events.vader
diff options
context:
space:
mode:
authortoastal <toastal@protonmail.com>2020-11-14 15:03:26 +0700
committertoastal <toastal@protonmail.com>2020-11-14 15:03:26 +0700
commit42e4b148616981234425b31d2858c62f30e4153d (patch)
treef162b21d6cbbf1e8cc4b7ad0dfb299895ad0f144 /test/completion/test_completion_events.vader
parent48cbf1cb36e6e289be6275e6643504326963c3a4 (diff)
parent1ec573bf0df6cbc5eef8b593f93081e4c1837c1b (diff)
downloadale-42e4b148616981234425b31d2858c62f30e4153d.zip
Merge branch 'master' of github.com:dense-analysis/ale into dhall
Diffstat (limited to 'test/completion/test_completion_events.vader')
-rw-r--r--test/completion/test_completion_events.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/completion/test_completion_events.vader b/test/completion/test_completion_events.vader
index f678e773..30bf603c 100644
--- a/test/completion/test_completion_events.vader
+++ b/test/completion/test_completion_events.vader
@@ -50,8 +50,8 @@ Before:
let g:handle_code_action_called = 0
function! MockHandleCodeAction() abort
" delfunction! ale#code_action#HandleCodeAction
- function! ale#code_action#HandleCodeAction(action, should_save) abort
- AssertEqual v:false, a:should_save
+ function! ale#code_action#HandleCodeAction(action, options) abort
+ Assert !get(a:options, 'should_save')
let g:handle_code_action_called += 1
endfunction
endfunction