0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.1200: tests switch the bell off twice

Problem:    Tests switch the bell off twice.
Solution:   Don't set 'belloff' in individual tests. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2017-10-15 22:07:39 +02:00
parent 8bfe07b708
commit 67418d97b4
19 changed files with 6 additions and 43 deletions

View File

@@ -3,7 +3,6 @@ if !has('visual')
finish
endif
set belloff=all
func Test_block_shift_multibyte()
" Uses double-wide character.
@@ -76,7 +75,6 @@ func TriggerTheProblem()
endfunc
func Test_visual_mode_reset()
set belloff=all
enew
let g:msg="Everything's fine."
enew
@@ -89,5 +87,5 @@ func Test_visual_mode_reset()
exe "normal! GV:call TriggerTheProblem()\<CR>"
call assert_equal("Everything's fine.", g:msg)
set belloff&
endfunc