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()
|
||||
new SomeNewBuffer
|
||||
setlocal cole=3
|
||||
setlocal numberwidth=3
|
||||
wincmd p
|
||||
badd SomeNewBuffer
|
||||
new SomeNewBuffer
|
||||
call assert_equal(3, &cole)
|
||||
call assert_equal(3, &numberwidth)
|
||||
close
|
||||
close
|
||||
bwipe! SomeNewBuffer
|
||||
|
Reference in New Issue
Block a user