Skip to content

Commit f3a1213

Browse files
author
jan.nijtmans
committed
Don't shorten "info locals" in testcases.
2 parents ee91324 + 25494d3 commit f3a1213

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/info.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ test info-12.2 {info locals option} {
420420
set xx1 2
421421
set xx2 3
422422
set y 4
423-
return [info loc x*]
423+
return [info locals x*]
424424
}
425425
lsort [t1 2 3]
426426
} {x xx1 xx2}
@@ -602,7 +602,7 @@ test info-18.1 {info tclversion option} -body {
602602
scan [info tclversion] "%d.%d%c" a b c
603603
} -cleanup {unset -nocomplain a b c} -result 2
604604
test info-18.2 {info tclversion option} -body {
605-
info t 2
605+
info tclv 2
606606
} -returnCodes error -result {wrong # args: should be "info tclversion"}
607607
test info-18.3 {info tclversion option} -body {
608608
unset tcl_version

tests/oo.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4066,7 +4066,7 @@ test oo-27.6 {variables declaration - non-interference of levels} -setup {
40664066
foo create bar
40674067
oo::objdefine bar {
40684068
variable y!
4069-
method y {} {list [next] [incr y!] [info var] [info local]}
4069+
method y {} {list [next] [incr y!] [info var] [info locals]}
40704070
export eval
40714071
}
40724072
bar y

0 commit comments

Comments
 (0)