forked from aniani/vim
patch 9.0.2116: No test for defining sign without attribute
Problem: No test for defining sign without attribute Solution: Add test for defining sign without attributes closes: #13544 Signed-off-by: Luuk van Baal <luukvbaal@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6701abfb52
commit
e670d17342
@@ -194,6 +194,11 @@ func Test_sign()
|
||||
sign undefine Sign3
|
||||
call assert_fails("sign place 41 line=3 name=Sign1 buffer=" .
|
||||
\ bufnr('%'), 'E155:')
|
||||
|
||||
" Defining a sign without attributes is allowed.
|
||||
sign define Sign1
|
||||
call assert_equal([{'name': 'Sign1'}], sign_getdefined())
|
||||
sign undefine Sign1
|
||||
endfunc
|
||||
|
||||
func Test_sign_many_bytes()
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2116,
|
||||
/**/
|
||||
2115,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user