3 # Copyright (C) 2006-2007, The Perl Foundation.
6 # the following lines re-execute this as a tcl script
7 # the \ at the end of these lines makes them a comment in tcl \
8 use lib qw(languages/tcl/lib tcl/lib lib ../lib ../../lib); # \
12 source lib/test_more.tcl
19 } b {two arg replace, check variable replacement}
24 } b {three arg replace}
35 } {a {c c} d} {multiple indices}
43 {wrong # args: should be "lset listVar index ?index...? value"} \
47 {wrong # args: should be "lset listVar index ?index...? value"} \
50 eval_is {lset frob b} \
51 {can't read "frob": no such variable} \
57 } {list index out of range} \
58 {list index out of range}
63 } {list index out of range} \
64 {list index out of range}
69 } {list index out of range} \
70 {list index out of range}
75 } {bad index "3.2": must be integer?[+-]integer? or end?[+-]integer?} \