forked from aniani/vim
patch 9.1.1232: Vim script is missing the tuple data type
Problem: Vim script is missing the tuple data type
Solution: Add support for the tuple data type
(Yegappan Lakshmanan)
closes: #16776
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
adb703e1b9
commit
9cb865e95b
@@ -7519,6 +7519,16 @@ func Test_for_over_string()
|
||||
endfor
|
||||
endfunc
|
||||
|
||||
" Test for 'for' loop failures
|
||||
func Test_for_loop_failure()
|
||||
func ForFn()
|
||||
for x in test_null_job()
|
||||
endfor
|
||||
endfunc
|
||||
call assert_fails('call ForFn()', 'E1523: String, List, Tuple or Blob required')
|
||||
delfunc ForFn
|
||||
endfunc
|
||||
|
||||
" Test for deeply nested :source command {{{1
|
||||
func Test_deeply_nested_source()
|
||||
let lines =<< trim END
|
||||
|
||||
Reference in New Issue
Block a user