summaryrefslogtreecommitdiff
path: root/src/testdir/gen_opt_test.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-22 17:04:02 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-22 17:04:02 +0200
commit825680f5f4ffed5d57fdb283dde5f0ad734605fc (patch)
treeddc79f2e8bd2be926d92b90111def111a25df5d1 /src/testdir/gen_opt_test.vim
parent8f84c3a8666cea04484ec93fa05386bf33f93f5a (diff)
downloadvim-git-825680f5f4ffed5d57fdb283dde5f0ad734605fc.tar.gz
patch 8.0.0743: the 'termsize' option can be set to an invalid valuev8.0.0743
Problem: The 'termsize' option can be set to an invalid value. Solution: Check the 'termsize' option to be valid.
Diffstat (limited to 'src/testdir/gen_opt_test.vim')
-rw-r--r--src/testdir/gen_opt_test.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim
index 019c757df..128a91814 100644
--- a/src/testdir/gen_opt_test.vim
+++ b/src/testdir/gen_opt_test.vim
@@ -124,6 +124,7 @@ let test_values = {
\ 'switchbuf': [['', 'useopen', 'split,newtab'], ['xxx']],
\ 'tagcase': [['smart', 'match'], ['', 'xxx', 'smart,match']],
\ 'term': [[], []],
+ \ 'termsize': [['', '24x80', '0x80', '32x0', '0x0'], ['xxx', '80', '8ax9', '24x80b']],
\ 'toolbar': [['', 'icons', 'text'], ['xxx']],
\ 'toolbariconsize': [['', 'tiny', 'huge'], ['xxx']],
\ 'ttymouse': [['', 'xterm'], ['xxx']],