From a04fa2fcec1f882f780d333beb09284c89ff7bff Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Thu, 2 Oct 2008 23:20:30 +0000 Subject: * 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. --- ChangeLog | 4 ++++ tests/info.test | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3243dfd..56b863a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-10-02 Andreas Kupries + * 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. + * doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation of 'info frame' for positive numbers as level argument. 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} -- cgit v0.12