diff --git a/test/functions.vim b/test/functions.vim index dc63e28..b350724 100644 --- a/test/functions.vim +++ b/test/functions.vim @@ -87,5 +87,10 @@ function! s:suite.get_completed_snippet() \ 'word' : 'Dictionary(', 'abbr' : 'Dictionary(foo)', \ 'menu' : '', 'info' : '' \ }), '<${1:#:Key}, ${2:#:Value}>${3:#:foo})${4}') + + call s:assert.equals(neosnippet#parser#_get_completed_snippet({ + \ 'word' : 'Dictionary(', 'abbr' : 'Dictionary (foo)', + \ 'menu' : '', 'info' : '' + \ }), '${1:#:foo})${2}') endfunction