summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-17 22:14:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-17 22:14:48 (GMT)
commit7aaa5a8d0f666904afeda3e995fb46a33122a2de (patch)
tree6e055c25af5ac8ae9a3e794d2daf45272a60f615 /tests/cmdAH.test
parenta87c2925c5ff1caf3a88c8a249aae82699d7f5a0 (diff)
parent34480654e98d2543e4d9a16e4cd5cbcc5630b604 (diff)
downloadtcl-better_deprecation.zip
tcl-better_deprecation.tar.gz
tcl-better_deprecation.tar.bz2
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 2ecf626..3051bfb 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -70,6 +70,12 @@ test cmdAH-1.2 {Tcl_CatchObjCmd, errors} {
test cmdAH-1.3 {Tcl_CatchObjCmd, errors} -returnCodes error -body {
catch foo bar baz spaz
} -result {wrong # args: should be "catch script ?resultVarName? ?optionVarName?"}
+test cmdAH-1.4 {Bug 3595576} {
+ catch {catch {} -> noSuchNs::var}
+} 1
+test cmdAH-1.5 {Bug 3595576} {
+ catch {catch error -> noSuchNs::var}
+} 1
test cmdAH-2.1 {Tcl_CdObjCmd} -returnCodes error -body {
cd foo bar