This commit is contained in:
Shougo Matsushita 2016-01-01 20:37:00 +09:00
parent 9125b4b57c
commit 8a13d4a679
1 changed files with 5 additions and 0 deletions

View File

@ -87,5 +87,10 @@ function! s:suite.get_completed_snippet()
\ 'word' : 'Dictionary(', 'abbr' : 'Dictionary<Key, Value>(foo)',
\ 'menu' : '', 'info' : ''
\ }), '<${1:#:Key}, ${2:#:Value}>${3:#:foo})${4}')
call s:assert.equals(neosnippet#parser#_get_completed_snippet({
\ 'word' : 'Dictionary(', 'abbr' : 'Dictionary<Key, Value> (foo)',
\ 'menu' : '', 'info' : ''
\ }), '${1:#:foo})${2}')
endfunction