diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-17 10:40:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 10:40:48 +0200 |
commit | 398b9fde8548a2a754883691f7026c5104cdae1d (patch) | |
tree | 1769754d36530429841f6d1010a1617b8977794e /src/nvim/testdir | |
parent | 9f1401e25cfcd3db1ccb4471599e13c5e5c3e5d8 (diff) | |
parent | a0ada7dac496de46aff416505d536c78fea80524 (diff) | |
download | rneovim-398b9fde8548a2a754883691f7026c5104cdae1d.tar.gz rneovim-398b9fde8548a2a754883691f7026c5104cdae1d.tar.bz2 rneovim-398b9fde8548a2a754883691f7026c5104cdae1d.zip |
Merge #9008 from janlazo/vim-8.0.1416
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_search.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index 7663c9e283..ecd840d40c 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -480,3 +480,12 @@ func Test_look_behind() call search(getline(".")) bwipe! endfunc + +func Test_search_sentence() + new + " this used to cause a crash + call assert_fails("/\\%')", 'E486') + call assert_fails("/", 'E486') + /\%'( + / +endfunc |