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:
Jan Edmund Lazo
2020-01-30 21:30:33 -05:00
parent 63983316bd
commit ef11b800ac

View File

@@ -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