aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-24 10:03:38 +0800
committerGitHub <noreply@github.com>2024-10-24 10:03:38 +0800
commit50e63c8171d47157cfad5c1b8f1958a4a7e9d9c7 (patch)
tree032a589ee8935d485cbcf85ce404656e249e4a95 /test
parentfffcb88ad6f4ae3ea418b9c9dc4ddf828d8c253e (diff)
downloadrneovim-50e63c8171d47157cfad5c1b8f1958a4a7e9d9c7.tar.gz
rneovim-50e63c8171d47157cfad5c1b8f1958a4a7e9d9c7.tar.bz2
rneovim-50e63c8171d47157cfad5c1b8f1958a4a7e9d9c7.zip
fix(options): missing error check for global 'scl' and 'winhl' (#30919)
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/gen_opt_test.vim7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/old/testdir/gen_opt_test.vim b/test/old/testdir/gen_opt_test.vim
index 2cc9b3142a..51f260cc5e 100644
--- a/test/old/testdir/gen_opt_test.vim
+++ b/test/old/testdir/gen_opt_test.vim
@@ -45,8 +45,6 @@ endwhile
let skip_setglobal_reasons = #{
\ iminsert: 'The global value is always overwritten by the local value',
\ imsearch: 'The global value is always overwritten by the local value',
- \ signcolumn: 'TODO(nvim): fix missing error handling for setglobal',
- \ winhighlight: 'TODO(nvim): fix missing error handling for setglobal',
\}
" Script header.
@@ -92,12 +90,13 @@ let test_values = {
\ 'noinsert', 'noselect', 'fuzzy', 'menu,longest'],
\ ['xxx', 'menu,,,longest,']],
\ 'encoding': [['utf8'], []],
- \ 'foldcolumn': [[0, 1, 4], [-1, 13, 999]],
+ \ 'foldcolumn': [[0, 1, 4, 'auto', 'auto:1', 'auto:9'], [-1, 13, 999]],
\ 'foldlevel': [[0, 100], [-1, '']],
\ 'highlight': [[&highlight], []],
\ 'iminsert': [[0, 1], [-1, 2, 3, 999]],
\ 'imsearch': [[-1, 0, 1], [-2, 2, 3, 999]],
- \ 'signcolumn': [['auto', 'no', 'yes', 'number'], ['', 'xxx', 'no,yes']],
+ \ 'signcolumn': [['auto', 'no', 'yes', 'number', 'yes:1', 'auto:1-9'],
+ \ ['', 'xxx', 'no,yes', 'auto:0-9', 'auto:9-1', 'auto:1-@']],
\ 'writedelay': [[0, 100], [-1, '']],
\
"\ boolean options