From e0c014ab8c5e687daf9954108c31e1fa19a68c43 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 24 Jul 2017 09:23:53 +0100 Subject: Disable completion in the Vader test if we temporarily enable it --- test/test_completion.vader | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') diff --git a/test/test_completion.vader b/test/test_completion.vader index ce7a8ef3..f971f44c 100644 --- a/test/test_completion.vader +++ b/test/test_completion.vader @@ -1,3 +1,13 @@ +Before: + Save g:ale_completion_enabled + +After: + Restore + + if !g:ale_completion_enabled + call ale#completion#Disable() + endif + Execute(TypeScript completions responses should be parsed correctly): AssertEqual [], \ ale#completion#ParseTSServerCompletions({ -- cgit v1.2.3