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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user