summaryrefslogtreecommitdiffstats
path: root/tests/info.test
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-10-02 23:20:30 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-10-02 23:20:30 (GMT)
commita04fa2fcec1f882f780d333beb09284c89ff7bff (patch)
tree361f1e2f2057737509cb1cce1f7ee6fe3b77bfac /tests/info.test
parent0d2359a376086f55fc6219cc2801eb4e58069ad4 (diff)
downloadtcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.zip
tcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.tar.gz
tcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.tar.bz2
* tests/info.test (info-23.3): See [SF Bug 2017632]. Updated
output of the test to handle the NRE-enabled eval and the proper propagation of location information through it.
Diffstat (limited to 'tests/info.test')
-rw-r--r--tests/info.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/info.test b/tests/info.test
index 7388e08..9f94dd3 100644
--- a/tests/info.test
+++ b/tests/info.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: info.test,v 1.59 2008/10/02 22:55:58 andreas_kupries Exp $
+# RCS: @(#) $Id: info.test,v 1.60 2008/10/02 23:20:30 andreas_kupries Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -788,11 +788,11 @@ test info-23.2.1 {eval'd info frame, dynamic} -constraints {singleTestInterp} -m
set script {info frame}
eval $script
} -result {1[12]}
-test info-23.3 {eval'd info frame, literal} {
+test info-23.3 {eval'd info frame, literal} -match glob -body {
eval {
info frame 0
}
-} {type eval line 2 cmd {info frame 0} proc ::tcltest::RunTest}
+} -result {type source line 793 file * cmd {info frame 0} proc ::tcltest::RunTest}
test info-23.4 {eval'd info frame, semi-dynamic} {
eval info frame 0
} {type eval line 1 cmd {info frame 0} proc ::tcltest::RunTest}