annotate runtime/indent/testdir/tcl.in @ 19407:2f4be7ca1b1b
v8.2.0261
patch 8.2.0261: some code not covered by tests
Commit: https://github.com/vim/vim/commit/f0cee1971f5258ce61f8a4e6a04d35c1e625bb01
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 13:33:56 2020 +0100
patch 8.2.0261: some code not covered by tests
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5645)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 16 Feb 2020 13:45:04 +0100 |
parents |
8b334e4cb97f |
children |
|
rev |
line source |
15194
|
1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
|
15131
|
2
|
|
3 # START_INDENT
|
|
4 proc abc {} {
|
|
5 set a 5
|
|
6 if {[some_cmd]==1} {
|
|
7 foreach i [list {1 2 3}] {
|
|
8 # Does this comment affect anything?
|
|
9 puts $i
|
|
10 }
|
|
11 }
|
|
12 }
|
|
13
|
|
14 command_with_a_long_time -arg1 "First" \
|
|
15 -arg2 "Second" \
|
|
16 -arg3 "Third"
|
|
17
|
|
18 puts "Move indent back after line continuation is complete"
|
|
19 # END_INDENT |