1
0
forked from aniani/vim

patch 8.2.1903: buffer test fails with normal features

Problem:    Buffer test fails with normal features.
Solution:   Use 'numberwidth' instead of 'conceallevel' in the test.
This commit is contained in:
Bram Moolenaar
2020-10-25 16:18:26 +01:00
parent e974fa7b2b
commit 37e4e03c67
2 changed files with 4 additions and 2 deletions

View File

@@ -364,11 +364,11 @@ endfunc
func Test_badd_options() func Test_badd_options()
new SomeNewBuffer new SomeNewBuffer
setlocal cole=3 setlocal numberwidth=3
wincmd p wincmd p
badd SomeNewBuffer badd SomeNewBuffer
new SomeNewBuffer new SomeNewBuffer
call assert_equal(3, &cole) call assert_equal(3, &numberwidth)
close close
close close
bwipe! SomeNewBuffer bwipe! SomeNewBuffer

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1903,
/**/ /**/
1902, 1902,
/**/ /**/