Merge branch 'master' into do-not-save-on-autoimport

This commit is contained in:
Jerko Steiner committed 2019-10-22 16:40:27 -05:00
commit 463deedc29
26 files changed
+388 -34

No files matched your search

@@ -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'}