summaryrefslogtreecommitdiff
path: root/test/completion/test_public_completion_api.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion/test_public_completion_api.vader')
-rw-r--r--test/completion/test_public_completion_api.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/completion/test_public_completion_api.vader b/test/completion/test_public_completion_api.vader
index befbb436..c3cd42b8 100644
--- a/test/completion/test_public_completion_api.vader
+++ b/test/completion/test_public_completion_api.vader
@@ -32,6 +32,10 @@ Execute(ale#completion#GetCompletionPosition() should return the position in the
" This is the first character of 'bar'
AssertEqual 4, ale#completion#GetCompletionPosition()
+Execute(ale#completion#GetCompletionPositionForDeoplete() should return the position on the given input string):
+ " This is the first character of 'bar'
+ AssertEqual 4, ale#completion#GetCompletionPositionForDeoplete('foo bar')
+
Execute(ale#completion#CanProvideCompletions should return 0 when no completion sources are available):
AssertEqual 0, ale#completion#CanProvideCompletions()