From 9d77a0768697aced470c72ba71d0e04cf45f0fd0 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 25 Apr 2019 08:31:33 -0400 Subject: vim-patch:8.0.1510: cannot assert beep #9938 Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps(). https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8 --- src/nvim/testdir/test_normal.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/testdir/test_normal.vim') diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index d07b3fdbce..9c0f0ee501 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2272,6 +2272,8 @@ endfunc func! Test_normal45_drop() if !has('dnd') + " The ~ register does not exist + call assert_beeps('norm! "~') return endif -- cgit