diff options
author | Jerko Steiner <jerko.steiner@gmail.com> | 2019-10-22 16:40:27 -0500 |
---|---|---|
committer | Jerko Steiner <jerko.steiner@gmail.com> | 2019-10-22 16:40:27 -0500 |
commit | 463deedc2998ecf864bb479f07e87aa4e83e3030 (patch) | |
tree | 34f72b8b639987de68050e9fa42ba1e2f0289f35 /test/completion/test_completion_events.vader | |
parent | 40890cfcf38a91e75176d39748a7e4ccb24aeb6b (diff) | |
parent | 67d0ccc398ca7650bb2c774a94d098bee3049169 (diff) | |
download | ale-463deedc2998ecf864bb479f07e87aa4e83e3030.zip |
Merge branch 'master' into do-not-save-on-autoimport
Diffstat (limited to 'test/completion/test_completion_events.vader')
-rw-r--r-- | test/completion/test_completion_events.vader | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/completion/test_completion_events.vader b/test/completion/test_completion_events.vader index a6dcdac4..90a2e3a2 100644 --- a/test/completion/test_completion_events.vader +++ b/test/completion/test_completion_events.vader @@ -432,6 +432,12 @@ Execute(HandleUserData should call ale#code_action#HandleCodeAction): \}) AssertEqual g:handle_code_action_called, 2 + let b:ale_completion_info = {'source': 'ale-callback'} + call ale#completion#HandleUserData({ + \ 'user_data': '{"codeActions": [{"description":"", "changes": []}]}' + \}) + AssertEqual g:handle_code_action_called, 3 + Execute(ale#code_action#HandleCodeAction should not be called when when source is not ALE): call MockHandleCodeAction() let b:ale_completion_info = {'source': 'syntastic'} |