mirror of
https://github.com/neovim/neovim.git
synced 2026-01-22 05:04:51 +10:00
vim-patch:8.2.0016: test name used twice, option not restored properly
Problem: Test name used twice, option not restored properly.
Solution: Rename function, restore option with "&".
a48e78e11f
This commit is contained in:
@@ -886,7 +886,7 @@ func Test_ra_multibyte()
|
||||
endfunc
|
||||
|
||||
" Test for 'whichwrap' with multi-byte character
|
||||
func Test_whichwrap()
|
||||
func Test_whichwrap_multi_byte()
|
||||
new
|
||||
let t =<< trim END
|
||||
á
|
||||
@@ -897,7 +897,7 @@ func Test_whichwrap()
|
||||
|
||||
set whichwrap+=h
|
||||
normal dh
|
||||
set whichwrap-=h
|
||||
set whichwrap&
|
||||
|
||||
let expected =<< trim END
|
||||
áx
|
||||
|
||||
Reference in New Issue
Block a user