From ba5ff6e5f0d684fb7a5c51d67c159838995199b3 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 15 Jul 2022 16:26:35 +0800 Subject: vim-patch:8.2.0535: regexp patterns not fully tested Problem: Regexp patterns not fully tested. Solution: Add more regexp tests and others. (Yegappan Lakshmanan, closes vim/vim#5901) https://github.com/vim/vim/commit/4d23c52824dd2f4577eb980e7d91feed34052755 Add missing Test_search_cmdline8(). Cherry-pick Test_invalid_regexp() from patch 8.2.0531. --- src/nvim/testdir/test_marks.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/testdir/test_marks.vim') diff --git a/src/nvim/testdir/test_marks.vim b/src/nvim/testdir/test_marks.vim index 8f94224128..74e63d9d69 100644 --- a/src/nvim/testdir/test_marks.vim +++ b/src/nvim/testdir/test_marks.vim @@ -216,6 +216,9 @@ func Test_mark_error() call assert_fails('mark xx', 'E488:') call assert_fails('mark _', 'E191:') call assert_beeps('normal! m~') + + call setpos("'k", [0, 100, 1, 0]) + call assert_fails("normal 'k", 'E19:') endfunc " Test for :lockmarks when pasting content -- cgit