]> granicus.if.org Git - vim/commitdiff
patch 8.1.1107: no test for 'visualbell' v8.1.1107
authorBram Moolenaar <Bram@vim.org>
Wed, 3 Apr 2019 19:53:33 +0000 (21:53 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 3 Apr 2019 19:53:33 +0000 (21:53 +0200)
Problem:    No test for 'visualbell'.
Solution:   Add a test.

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

index 1bb0d3fcf3769a06a2b92c539597ba9a542dc5b7..241c7b6e023422e71ecd991ac40bd269e805f36c 100644 (file)
@@ -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
index 9fd355ac4280e81c9b5b7f3cea8ad4fb3dd546c5..e1809c63dc7e11ee80b33449a7046e985ff6a46f 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1107,
 /**/
     1106,
 /**/