summaryrefslogtreecommitdiffstats
path: root/tests/info.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/info.test')
-rw-r--r--tests/info.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/info.test b/tests/info.test
index e538a23..24c966a 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.66 2009/09/04 17:33:12 dgp Exp $
+# RCS: @(#) $Id: info.test,v 1.67 2009/09/07 19:59:59 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -1823,6 +1823,11 @@ test info-30.47 {TIP 280 for compiled [subst]} {
[dict get [info frame 0] line])} ; # 1823
} YES
+test info-30.48 {Bug 2850901} testevalex {
+ testevalex {return -level 0 [format %s {}
+][reduce [info frame 0]]} ; # line 2 of the eval
+} {type eval line 2 cmd {info frame 0} proc ::tcltest::RunTest}
+
# -------------------------------------------------------------------------
# cleanup