Fix #322 completed snippet error for < Foo,Fee> in ()

This commit is contained in:
Shougo Matsushita
2016-01-18 12:03:13 +09:00
parent 3db55f354d
commit 58fa466f7e
3 changed files with 14 additions and 7 deletions

View File

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