diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-15 22:07:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-15 22:07:39 +0200 |
commit | 67418d97b457d2e27fe342472d3c9fd342ffc47f (patch) | |
tree | 42beedb439133453caefdada8dc3d34454d12694 /src/testdir/test_popup.vim | |
parent | 8bfe07b70878c83c838320cc6a93d62cd78b953f (diff) |
patch 8.0.1200: tests switch the bell off twicev8.0.1200
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_popup.vim')
-rw-r--r-- | src/testdir/test_popup.vim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index 917395bc9b..b770e560dc 100644 --- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -38,7 +38,6 @@ endfu func! Test_popup_complete() new inoremap <f5> <c-r>=ListMonths()<cr> - set belloff=all " <C-E> - select original typed text before the completion started call feedkeys("aJu\<f5>\<down>\<c-e>\<esc>", 'tx') @@ -215,7 +214,6 @@ func! Test_popup_complete() call feedkeys("aM\<f5>\<enter>\<esc>", 'tx') call assert_equal(["March", "M", "March"], getline(1,4)) %d - set belloff& endfu @@ -517,7 +515,6 @@ endfunc func Test_completion_respect_bs_option() new - set belloff=all let li = ["aaa", "aaa12345", "aaaabcdef", "aaaABC"] set bs=indent,eol @@ -533,7 +530,6 @@ func Test_completion_respect_bs_option() call feedkeys("A\<C-X>\<C-N>\<C-P>\<BS>\<BS>\<BS>\<Esc>", "tx") call assert_equal('', getline(1)) - set belloff& bw! endfunc @@ -620,7 +616,6 @@ endfunc func Test_complete_CTRLN_startofbuffer() new - set belloff=all call setline(1, [ 'organize(cupboard, 3, 2);', \ 'prioritize(bureau, 8, 7);', \ 'realize(bannister, 4, 4);', @@ -631,7 +626,6 @@ func Test_complete_CTRLN_startofbuffer() \ 'railing.moralize(3,9);'] call feedkeys("qai\<c-n>\<c-n>.\<esc>3wdW\<cr>q3@a", 'tx') call assert_equal(expected, getline(1,'$')) - set belloff& bwipe! endfunc |