Fix completed snippet feature

This commit is contained in:
Shougo Matsushita
2015-12-12 01:51:49 +09:00
parent 3814544033
commit 7dc7ce803e
2 changed files with 16 additions and 9 deletions

View File

@@ -8,5 +8,9 @@ function! s:suite.get_in_paren()
\ 'foobar, baz')
call s:assert.equals(neosnippet#handlers#_get_in_paren('(foobar, (baz))'),
\ 'foobar, (baz)')
call s:assert.equals(neosnippet#handlers#_get_in_paren('foobar('),
\ '')
call s:assert.equals(neosnippet#handlers#_get_in_paren('foobar(fname)'),
\ 'fname')
endfunction