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()
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