diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2018-01-11 16:46:09 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2018-01-11 16:46:09 (GMT) |
commit | 1fda13591a6eff53b73bfa288078edb56ab8a26c (patch) | |
tree | 18158ba4a98fb4ce09e0afb293e9a0fc60b0c31f /tests/msgcat.test | |
parent | 3b5858bcd23542b0ff0249a128808ef20922beb6 (diff) | |
download | tcl-1fda13591a6eff53b73bfa288078edb56ab8a26c.zip tcl-1fda13591a6eff53b73bfa288078edb56ab8a26c.tar.gz tcl-1fda13591a6eff53b73bfa288078edb56ab8a26c.tar.bz2 |
Corrected test cleanups
Diffstat (limited to 'tests/msgcat.test')
-rw-r--r-- | tests/msgcat.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/msgcat.test b/tests/msgcat.test index 9dc8b48..387ce85 100644 --- a/tests/msgcat.test +++ b/tests/msgcat.test @@ -1093,7 +1093,7 @@ namespace eval ::msgcat::test { } -cleanup { mclocale $locale namespace eval ::bar {::msgcat::mcforgetpackage} - namespace forget ::bar ::baz + namespace delete ::bar ::baz } -body { $::baz::ObjCur method1 } -result con2bar @@ -1109,7 +1109,7 @@ namespace eval ::msgcat::test { } -cleanup { mclocale $locale namespace eval ::bar {::msgcat::mcforgetpackage} - namespace forget ::bar + namespace delete ::bar } -body { ::bar::ObjCur method1 } -result con2bar @@ -1129,7 +1129,7 @@ namespace eval ::msgcat::test { set ObjCur [::bar::ClassCur new] } } -cleanup { - namespace forget ::bar ::baz + namespace delete ::bar ::baz } -body { $::baz::ObjCur method1 } -result ::bar @@ -1140,7 +1140,7 @@ namespace eval ::msgcat::test { oo::objdefine ObjCur method method1 {} {msgcat::mcpackagenamespaceget} } } -cleanup { - namespace forget ::bar + namespace delete ::bar } -body { ::bar::ObjCur method1 } -result ::bar |