summaryrefslogtreecommitdiffstats
path: root/tests/result.test
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2010-06-02 23:36:23 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2010-06-02 23:36:23 (GMT)
commit5c5e3f51ea23ae06e71dd6b272376ed8a833aa84 (patch)
treee0ae05f51b24282b7f9a8240cff13435db359108 /tests/result.test
parent862cbfbc4c58e28e598535335bad2514e5bc835f (diff)
downloadtcl-5c5e3f51ea23ae06e71dd6b272376ed8a833aa84.zip
tcl-5c5e3f51ea23ae06e71dd6b272376ed8a833aa84.tar.gz
tcl-5c5e3f51ea23ae06e71dd6b272376ed8a833aa84.tar.bz2
Safer (and faster) computation of [uplevel] offsets in TIP 348. Toplevel offsets no longer overestimated.
Diffstat (limited to 'tests/result.test')
-rw-r--r--tests/result.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/result.test b/tests/result.test
index a610343..8bde7ef 100644
--- a/tests/result.test
+++ b/tests/result.test
@@ -138,11 +138,11 @@ test result-6.3 {Bug 2383005} {
test result-6.4 {non-list -errorstack} {
catch {return -code error -errorstack {{}a} eek} m o
list $m [dict get $o -errorcode] [dict get $o -errorstack]
-} {{bad -errorstack value: expected a list but got "{}a"} {TCL RESULT NONLIST_ERRORSTACK} {UP 3}}
+} {{bad -errorstack value: expected a list but got "{}a"} {TCL RESULT NONLIST_ERRORSTACK} {UP 1}}
test result-6.5 {odd-sized-list -errorstack} {
catch {return -code error -errorstack a eek} m o
list $m [dict get $o -errorcode] [dict get $o -errorstack]
-} {{forbidden odd-sized list for -errorstack: "a"} {TCL RESULT ODDSIZEDLIST_ERRORSTACK} {UP 3}}
+} {{forbidden odd-sized list for -errorstack: "a"} {TCL RESULT ODDSIZEDLIST_ERRORSTACK} {UP 1}}
# cleanup
cleanupTests
return