aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-02-28 03:10:25 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-01 20:02:10 -0500
commite6c9db6ede33127909a913dd428eb63d71a24fcd (patch)
tree5370c0e87152e5aecf200275828f60d95fa537d0
parent4ccbc8d56eb7aea41c87a835be52396b945a0143 (diff)
downloadrneovim-e6c9db6ede33127909a913dd428eb63d71a24fcd.tar.gz
rneovim-e6c9db6ede33127909a913dd428eb63d71a24fcd.tar.bz2
rneovim-e6c9db6ede33127909a913dd428eb63d71a24fcd.zip
vim-patch:8.1.1107: no test for 'visualbell'
Problem: No test for 'visualbell'. Solution: Add a test. https://github.com/vim/vim/commit/b4e6a2d07510e18e6720d6b2ee0b029f95430964
-rw-r--r--src/nvim/testdir/test_options.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index 29d391c232..5b9dd7b50a 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -511,3 +511,9 @@ func Test_shortmess_F2()
bwipe
bwipe
endfunc
+
+func Test_visualbell()
+ set visualbell
+ call assert_beeps('normal 0h')
+ set novisualbell
+endfunc