diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-17 20:08:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-17 20:08:20 +0200 |
commit | 1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e (patch) | |
tree | e7e91f215db3694732b431b3ff76eaa6008827d2 /src/testdir/test_statusline.vim | |
parent | 5b1affefd0e96154517ec6f71300086ae6d22d24 (diff) | |
download | vim-git-1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e.tar.gz |
patch 8.0.0645: no error for illegal back reference in NFA enginev8.0.0645
Problem: The new regexp engine does not give an error for using a back
reference where it is not allowed. (Dominique Pelle)
Solution: Check the back reference like the old engine. (closes #1774)
Diffstat (limited to 'src/testdir/test_statusline.vim')
-rw-r--r-- | src/testdir/test_statusline.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_statusline.vim b/src/testdir/test_statusline.vim index cf85bd58a..351b119ac 100644 --- a/src/testdir/test_statusline.vim +++ b/src/testdir/test_statusline.vim @@ -223,7 +223,7 @@ func Test_statusline() set statusline=ab%(cd%q%)de call assert_match('^abde\s*$', s:get_statusline()) copen - call assert_match('^abcd\[Quickfix List\1]de\s*$', s:get_statusline()) + call assert_match('^abcd\[Quickfix List]de\s*$', s:get_statusline()) cclose " %#: Set highlight group. The name must follow and then a # again. |