aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-30 21:30:33 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-30 21:30:40 -0500
commitef11b800ac379dd7171c090f5f9f995aedae9bd2 (patch)
treea3458461f96ae9614887a24ff5afab8c0aa0569e /src
parent63983316bd05f189cb98907024f911435c1475fd (diff)
downloadrneovim-ef11b800ac379dd7171c090f5f9f995aedae9bd2.tar.gz
rneovim-ef11b800ac379dd7171c090f5f9f995aedae9bd2.tar.bz2
rneovim-ef11b800ac379dd7171c090f5f9f995aedae9bd2.zip
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 "&". https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_textformat.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_textformat.vim b/src/nvim/testdir/test_textformat.vim
index 1f87fbd31a..75673adf0a 100644
--- a/src/nvim/testdir/test_textformat.vim
+++ b/src/nvim/testdir/test_textformat.vim
@@ -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