diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-01-21 10:26:40 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-01-21 12:21:47 +0100 |
commit | ce09d4134b05cfdf6f71bcc93bb5cb9e48e4d9a0 (patch) | |
tree | e9b4183a4e6e1d59c27ddaa38417f70a3cff2fcb | |
parent | 9c92eed86f99fa4f423228a5afd0ef8eac9894e3 (diff) | |
download | rneovim-ce09d4134b05cfdf6f71bcc93bb5cb9e48e4d9a0.tar.gz rneovim-ce09d4134b05cfdf6f71bcc93bb5cb9e48e4d9a0.tar.bz2 rneovim-ce09d4134b05cfdf6f71bcc93bb5cb9e48e4d9a0.zip |
vim-patch:8.0.0433: beeps when running tests
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
-rw-r--r-- | src/nvim/testdir/test_alot.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_diffmode.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_digraph.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_normal.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_search.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_textobjects.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_undo.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_usercommands.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_visual.vim | 2 |
10 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim index 0e7778decc..6f572e9b79 100644 --- a/src/nvim/testdir/test_alot.vim +++ b/src/nvim/testdir/test_alot.vim @@ -1,6 +1,7 @@ " A series of tests that can run in one Vim invocation. " This makes testing go faster, since Vim doesn't need to restart. +set belloff=all source test_assign.vim source test_changedtick.vim source test_cursor_func.vim diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 115c228ce8..0d2dad80ce 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -1,5 +1,7 @@ " Tests for editing the command line. +set belloff=all + func Test_complete_tab() call writefile(['testfile'], 'Xtestfile') call feedkeys(":e Xtestf\t\r", "tx") diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim index ad2100e8a2..b5a76909a2 100644 --- a/src/nvim/testdir/test_diffmode.vim +++ b/src/nvim/testdir/test_diffmode.vim @@ -1,4 +1,5 @@ " Tests for diff mode +set belloff=all func Test_diff_fold_sync() enew! diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim index 6290680305..30dc9a4683 100644 --- a/src/nvim/testdir/test_digraph.vim +++ b/src/nvim/testdir/test_digraph.vim @@ -3,6 +3,7 @@ if !has("digraphs") || !has("multi_byte") finish endif +set belloff=all func! Put_Dig(chars) exe "norm! o\<c-k>".a:chars diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 8635daa7ad..c28d76e66f 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2,6 +2,7 @@ source shared.vim +set belloff=all func! Setup_NewWindow() 10new call setline(1, range(1,100)) diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index 03112df46f..40e373cdd2 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -1,5 +1,6 @@ " Test for the search command +set belloff=all func Test_search_cmdline() " See test/functional/legacy/search_spec.lua throw 'skipped: Nvim does not support test_disable_char_avail()' diff --git a/src/nvim/testdir/test_textobjects.vim b/src/nvim/testdir/test_textobjects.vim index 630ae5d3a4..5e67f25286 100644 --- a/src/nvim/testdir/test_textobjects.vim +++ b/src/nvim/testdir/test_textobjects.vim @@ -4,6 +4,7 @@ if !has('textobjects') finish endif +set belloff=all function! CpoM(line, useM, expected) new diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim index 171618f6f7..0f9f6c3310 100644 --- a/src/nvim/testdir/test_undo.vim +++ b/src/nvim/testdir/test_undo.vim @@ -3,6 +3,7 @@ " undo-able pieces. Do that by setting 'undolevels'. " Also tests :earlier and :later. +set belloff=all func Test_undotree() exe "normal Aabc\<Esc>" set ul=100 diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim index db603610da..d2574fc0d0 100644 --- a/src/nvim/testdir/test_usercommands.vim +++ b/src/nvim/testdir/test_usercommands.vim @@ -1,6 +1,7 @@ " Tests for user defined commands " Test for <mods> in user defined commands +set belloff=all function Test_cmdmods() let g:mods = '' diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim index 69607e642c..6a61942025 100644 --- a/src/nvim/testdir/test_visual.vim +++ b/src/nvim/testdir/test_visual.vim @@ -3,6 +3,8 @@ if !has('visual') finish endif +set belloff=all + func Test_block_shift_multibyte() " Uses double-wide character. if !has('multi_byte') |