summaryrefslogtreecommitdiffstats
path: root/tests/oo.test
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2018-03-13 20:41:23 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2018-03-13 20:41:23 (GMT)
commit90f38b1023a10f8a5518bdcd04cb4e377d709fe9 (patch)
tree475161f2fc14f9c7702ec53bbc6629dbecd980bd /tests/oo.test
parente7a5b8aaa5817974ac8a090530f79af42ea60544 (diff)
downloadtcl-90f38b1023a10f8a5518bdcd04cb4e377d709fe9.zip
tcl-90f38b1023a10f8a5518bdcd04cb4e377d709fe9.tar.gz
tcl-90f38b1023a10f8a5518bdcd04cb4e377d709fe9.tar.bz2
Audit and correct Object reference counting issues.
Diffstat (limited to 'tests/oo.test')
-rw-r--r--tests/oo.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/oo.test b/tests/oo.test
index 9cf3133..a698bac 100644
--- a/tests/oo.test
+++ b/tests/oo.test
@@ -57,7 +57,13 @@ test oo-0.4 {basic test of OO's ability to clean up its initial state} -body {
foo destroy
}
} -constraints memory -result 0
-test oo-0.5 {testing literal leak on interp delete} memory {
+test oo-0.5.1 {testing object foundation cleanup} memory {
+ leaktest {
+ interp create foo
+ interp delete foo
+ }
+} 0
+test oo-0.5.2 {testing literal leak on interp delete} memory {
leaktest {
interp create foo
foo eval {oo::object new}