patch 9.1.1974: tests: missing cleanup in Test_bwipe_during_save()
Commit:
https://github.com/vim/vim/commit/353103e59afddbfae8432e715217b809e8e15998
Author: zeertzjq <[email protected]>
Date: Fri Dec 12 08:47:18 2025 +0100
patch 9.1.1974: tests: missing cleanup in Test_bwipe_during_save()
Problem: tests: missing cleanup in Test_bwipe_during_save().
Solution: Reset &charconvert.
closes: #18908
Signed-off-by: zeertzjq <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_buffer.vim b/src/testdir/test_buffer.vim
index d688a8671..2113feddf 100644
--- a/src/testdir/test_buffer.vim
+++ b/src/testdir/test_buffer.vim
@@ -230,6 +230,7 @@ func Test_bwipe_during_save()
set charconvert=execute('%bw!')
call assert_fails('write ++enc=lmao boom', 'E937:')
+ set charconvert&
%bwipe
endfunc
diff --git a/src/version.c b/src/version.c
index 43bb41282..a461d58c9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1974,
/**/
1973,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vTy4P-00B4yA-OU%40256bit.org.