mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-10 05:22:31 +08:00
Add & fix tests for added funcs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user