mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.0913: no error check for neg values for 'messagesopt'
Problem: no error check for neg values for 'messagesopt' (after v9.1.0908) Solution: add additional error checks and tests (h-east) closes: #16187 Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
92b36663f8
commit
65be834c30
@ -237,7 +237,9 @@ let test_values = {
|
||||
\ 'hit-enter,history:1,wait:1'],
|
||||
\ ['xxx', 'history:500', 'hit-enter,history:-1',
|
||||
\ 'hit-enter,history:10001', 'history:0,wait:10001',
|
||||
\ 'hit-enter']],
|
||||
\ 'hit-enter', 'history:10,wait:99999999999999999999',
|
||||
\ 'history:99999999999999999999,wait:10', 'wait:10',
|
||||
\ 'history:-10', 'history:10,wait:-10']],
|
||||
\ 'mkspellmem': [['10000,100,12'], ['', 'xxx', '10000,100']],
|
||||
\ 'mouse': [['', 'n', 'v', 'i', 'c', 'h', 'a', 'r', 'nvi'],
|
||||
\ ['xxx', 'n,v,i']],
|
||||
|
Reference in New Issue
Block a user