mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user