# HG changeset patch # User Bram Moolenaar # Date 1554321605 -7200 # Node ID e49b0957a0c760ea27e78740d2aab0e6c82cb43a # Parent 55de2b5f6e089b46be629ef977625662d038368a patch 8.1.1107: no test for 'visualbell' commit https://github.com/vim/vim/commit/b4e6a2d07510e18e6720d6b2ee0b029f95430964 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim --- 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 diff --git a/src/version.c b/src/version.c --- 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,