mirror of
https://github.com/neovim/neovim.git
synced 2026-11-03 04:40:37 -06:00
vim-patch:9.0.2116: No test for defining sign without attribute (#26115)
Problem: No test for defining sign without attribute Solution: Add test for defining sign without attributes closes: vim/vim#13544 https://github.com/vim/vim/commit/e670d17342ea05af253b0452afb980397fa143be
This commit is contained in:
1 parent
7ca2d64e8b
commit
d667e0e414
1 file changed
+5
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user