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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user