From 531be47ac5522807b265c6287021a01c9b895ac9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 23 Sep 2020 22:38:05 +0200 Subject: patch 8.2.1736: failure to compile a pattern not tested much Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes #7004) --- src/testdir/test_buffer.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testdir/test_buffer.vim') diff --git a/src/testdir/test_buffer.vim b/src/testdir/test_buffer.vim index e54b6338cb..8ef41e20fb 100644 --- a/src/testdir/test_buffer.vim +++ b/src/testdir/test_buffer.vim @@ -138,6 +138,7 @@ func Test_bdelete_cmd() %bwipe! call assert_fails('bdelete 5', 'E516:') call assert_fails('1,1bdelete 1 2', 'E488:') + call assert_fails('bdelete \)', 'E55:') " Deleting a unlisted and unloaded buffer edit Xfile1 -- cgit v1.2.3