summaryrefslogtreecommitdiffstats
path: root/src/testdir/gen_opt_test.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-23 22:38:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-23 22:38:05 +0200
commit531be47ac5522807b265c6287021a01c9b895ac9 (patch)
tree6ff8a223defdf477cdd5243fc2eee4f53ae71292 /src/testdir/gen_opt_test.vim
parent851d108313317a062371a6750e6c6bf370a9bafa (diff)
patch 8.2.1736: failure to compile a pattern not tested muchv8.2.1736
Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes #7004)
Diffstat (limited to 'src/testdir/gen_opt_test.vim')
-rw-r--r--src/testdir/gen_opt_test.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim
index faff33a863..271abedce3 100644
--- a/src/testdir/gen_opt_test.vim
+++ b/src/testdir/gen_opt_test.vim
@@ -73,7 +73,7 @@ let test_values = {
\ 'buftype': [['', 'help', 'nofile'], ['xxx', 'help,nofile']],
\ 'casemap': [['', 'internal'], ['xxx']],
\ 'cedit': [['', '\<Esc>'], ['xxx', 'f']],
- \ 'clipboard': [['', 'unnamed', 'autoselect,unnamed', 'html', 'exclude:vimdisplay'], ['xxx', '\ze*']],
+ \ 'clipboard': [['', 'unnamed', 'autoselect,unnamed', 'html', 'exclude:vimdisplay'], ['xxx', '\ze*', 'exclude:\\%(']],
\ 'colorcolumn': [['', '8', '+2'], ['xxx']],
\ 'comments': [['', 'b:#'], ['xxx']],
\ 'commentstring': [['', '/*%s*/'], ['xxx']],