changeset 16204:e49b0957a0c7 v8.1.1107

patch 8.1.1107: no test for 'visualbell' commit https://github.com/vim/vim/commit/b4e6a2d07510e18e6720d6b2ee0b029f95430964 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 3 21:53:33 2019 +0200 patch 8.1.1107: no test for 'visualbell' Problem: No test for 'visualbell'. Solution: Add a test.
author Bram Moolenaar <Bram@vim.org>
date Wed, 03 Apr 2019 22:00:05 +0200
parents 55de2b5f6e08
children 811ef62e4751
files src/testdir/test_options.vim src/version.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -536,5 +536,10 @@ func Test_writedelay()
   call assert_inrange(30 * 0.01, 999.0, elapsed)
 
   bwipe!
-  delfunc ChangeText
 endfunc
+
+func Test_visualbell()
+  set visualbell
+  call assert_beeps('normal 0h')
+  set novisualbell
+endfunc
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1107,
+/**/
     1106,
 /**/
     1105,