diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2010-05-31 22:58:56 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2010-05-31 22:58:56 (GMT) |
commit | 085647e065d5d19e1b3e8124cb42424cdd9821c8 (patch) | |
tree | e84ac848a1e1ffcffa2d829a33cfaa2ca066dbb2 /tests/result.test | |
parent | 67dc34a79def67d6d61add7f0635c45806fc7a50 (diff) | |
download | tcl-085647e065d5d19e1b3e8124cb42424cdd9821c8.zip tcl-085647e065d5d19e1b3e8124cb42424cdd9821c8.tar.gz tcl-085647e065d5d19e1b3e8124cb42424cdd9821c8.tar.bz2 |
Fix computation of [uplevel] offsets in TIP 341.
Only depend on callerPtr chaining now.
Needed for upcoming coro patch.
Diffstat (limited to 'tests/result.test')
-rw-r--r-- | tests/result.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/result.test b/tests/result.test index 8bde7ef..a610343 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 1}} +} {{bad -errorstack value: expected a list but got "{}a"} {TCL RESULT NONLIST_ERRORSTACK} {UP 3}} 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 1}} +} {{forbidden odd-sized list for -errorstack: "a"} {TCL RESULT ODDSIZEDLIST_ERRORSTACK} {UP 3}} # cleanup cleanupTests return |