summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorJerko Steiner <jerko.steiner@gmail.com>2019-10-09 20:42:41 -0500
committerJerko Steiner <jerko.steiner@gmail.com>2019-10-09 20:54:47 -0500
commitc8c142b8812701eddab7b7fef10cfff0c44e2a64 (patch)
treecb8aba7a31f717a2749a4a99b5243e3d96e38430 /test/completion
parent3fe2223a48465c58c48a5a6a30ecf13ab92f7b97 (diff)
downloadale-c8c142b8812701eddab7b7fef10cfff0c44e2a64.zip
Do not save for ALERename and ALEOrganizeImports
Diffstat (limited to 'test/completion')
-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 e06ac98b..a6dcdac4 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