summaryrefslogtreecommitdiff
path: root/test/completion/test_completion_events.vader
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-04-17 17:32:36 +0100
committerGitHub <noreply@github.com>2020-04-17 17:32:36 +0100
commitdc054f30c8356fecbe19e54aab60ff2587a6d71b (patch)
tree8b779bc14cc03006402a94e544ce3c6bb5a6ba67 /test/completion/test_completion_events.vader
parent16cd59805b32449c72fe27934fa8c234e3f24c23 (diff)
parent493705336c06e47df70c194c4aabb2a927e36d81 (diff)
downloadale-dc054f30c8356fecbe19e54aab60ff2587a6d71b.zip
Merge pull request #2823 from jeremija/do-not-save-on-autoimport
Do not save after ALERename and ALEOrganizeImports
Diffstat (limited to 'test/completion/test_completion_events.vader')
-rw-r--r--test/completion/test_completion_events.vader3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/completion/test_completion_events.vader b/test/completion/test_completion_events.vader
index 2ac2b15c..3a7a31d0 100644
--- a/test/completion/test_completion_events.vader
+++ b/test/completion/test_completion_events.vader
@@ -50,7 +50,8 @@ Before:
let g:handle_code_action_called = 0
function! MockHandleCodeAction() abort
" delfunction! ale#code_action#HandleCodeAction
- function! ale#code_action#HandleCodeAction(action) abort
+ function! ale#code_action#HandleCodeAction(action, should_save) abort
+ AssertEqual v:false, a:should_save
let g:handle_code_action_called += 1
endfunction
endfunction