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.
37e4e03c67
This commit is contained in:
Jan Edmund Lazo
2021-02-13 13:49:42 -05:00
parent 6855a55d53
commit a2aeed013c

View File

@@ -13,11 +13,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