summaryrefslogtreecommitdiff
path: root/src/testdir/test_statusline.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-17 20:08:20 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-17 20:08:20 +0200
commit1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e (patch)
treee7e91f215db3694732b431b3ff76eaa6008827d2 /src/testdir/test_statusline.vim
parent5b1affefd0e96154517ec6f71300086ae6d22d24 (diff)
downloadvim-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.vim2
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.