Mercurial > vim
diff src/testdir/test_visual.vim @ 12644:1fad9675d8fd v8.0.1200
patch 8.0.1200: tests switch the bell off twice
commit https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 15 22:07:39 2017 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Oct 2017 22:15:04 +0200 |
parents | 7d7835ab8b37 |
children | aa658b33f25a |
line wrap: on
line diff
--- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -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 +