]> granicus.if.org Git - vim/commitdiff
patch 8.1.1108: test for 'visualbell' doesn't work v8.1.1108
authorBram Moolenaar <Bram@vim.org>
Wed, 3 Apr 2019 20:52:34 +0000 (22:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 3 Apr 2019 20:52:34 +0000 (22:52 +0200)
Problem:    Test for 'visualbell' doesn't work.
Solution:   Make 'belloff' empty.

src/testdir/test_options.vim
src/version.c

index 241c7b6e023422e71ecd991ac40bd269e805f36c..6cc0c1a1801d5ace53d40cdec18b766a54dbdccd 100644 (file)
@@ -539,7 +539,9 @@ func Test_writedelay()
 endfunc
 
 func Test_visualbell()
+  set belloff=
   set visualbell
   call assert_beeps('normal 0h')
   set novisualbell
+  set belloff=all
 endfunc
index e1809c63dc7e11ee80b33449a7046e985ff6a46f..08493fe1bd7dd8e230182703997b571e88c1d3d2 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1108,
 /**/
     1107,
 /**/