summaryrefslogtreecommitdiff
path: root/test/test_rename.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/test_rename.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/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