diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-13 12:26:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-13 12:26:14 +0100 |
commit | b48e96f61c87a64e38e3ac50732c92a84a4833b8 (patch) | |
tree | 170cf91f5865fda3f985328c50b5d009e5296a3b /src/testdir/test_normal.vim | |
parent | 294959528e02403cd7ef6541208835f0c621c63b (diff) | |
download | vim-git-b48e96f61c87a64e38e3ac50732c92a84a4833b8.tar.gz |
patch 8.0.1510: cannot test if a command causes a beepv8.0.1510
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
Diffstat (limited to 'src/testdir/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index 27c589783..2d1446bfd 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -2177,6 +2177,8 @@ endfunc func! Test_normal45_drop() if !has('dnd') + " The ~ register does not exist + call assert_beeps('norm! "~') return endif |