summaryrefslogtreecommitdiff
path: root/test/test_rename.vader
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/test_rename.vader
parent3fe2223a48465c58c48a5a6a30ecf13ab92f7b97 (diff)
downloadale-c8c142b8812701eddab7b7fef10cfff0c44e2a64.zip
Do not save for ALERename and ALEOrganizeImports
Diffstat (limited to 'test/test_rename.vader')
-rw-r--r--test/test_rename.vader3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_rename.vader b/test/test_rename.vader
index 98e3ef30..3600df59 100644
--- a/test/test_rename.vader
+++ b/test/test_rename.vader
@@ -57,8 +57,9 @@ Before:
call add(g:expr_list, a:expr)
endfunction
- function! ale#code_action#HandleCodeAction(code_action) abort
+ function! ale#code_action#HandleCodeAction(code_action, should_save) abort
let g:handle_code_action_called = 1
+ AssertEqual v:true, a:should_save
call add(g:code_actions, a:code_action)
endfunction