diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-11-19 10:55:35 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-19 10:57:02 +0100 |
commit | e670d17342ea05af253b0452afb980397fa143be (patch) | |
tree | 27545018a4a065c1e506b5b535f4dd8792b56200 /src | |
parent | 6701abfb522ec1d2ac18a04495ea874b94496ca6 (diff) |
patch 9.0.2116: No test for defining sign without attributev9.0.2116
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_signs.vim | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_signs.vim b/src/testdir/test_signs.vim index ffde9b8739..0d76d7a445 100644 --- a/src/testdir/test_signs.vim +++ b/src/testdir/test_signs.vim @@ -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() diff --git a/src/version.c b/src/version.c index 5dbfc5d083..ed11338127 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2116, +/**/ 2115, /**/ 2114, |