mirror of
https://github.com/neovim/neovim.git
synced 2026-03-30 20:32:08 +00:00
vim-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: vim/vim#18908
353103e59a
This commit is contained in:
@@ -232,6 +232,7 @@ func Test_bwipe_during_save()
|
||||
set charconvert=execute('%bw!')
|
||||
call assert_fails('write ++enc=lmao boom', 'E937:')
|
||||
|
||||
set charconvert&
|
||||
%bwipe
|
||||
endfunc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user