diff options
author | w0rp <w0rp@users.noreply.github.com> | 2020-04-17 17:32:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 17:32:36 +0100 |
commit | dc054f30c8356fecbe19e54aab60ff2587a6d71b (patch) | |
tree | 8b779bc14cc03006402a94e544ce3c6bb5a6ba67 /test/test_organize_imports.vader | |
parent | 16cd59805b32449c72fe27934fa8c234e3f24c23 (diff) | |
parent | 493705336c06e47df70c194c4aabb2a927e36d81 (diff) | |
download | ale-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_organize_imports.vader')
-rw-r--r-- | test/test_organize_imports.vader | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_organize_imports.vader b/test/test_organize_imports.vader index 137326a9..c51ff1c0 100644 --- a/test/test_organize_imports.vader +++ b/test/test_organize_imports.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:false, a:should_save call add(g:code_actions, a:code_action) endfunction |