summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2018-03-13 20:46:08 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2018-03-13 20:46:08 (GMT)
commitec5288cc2ead0d99034aac22e4b40fce966e3796 (patch)
tree6dc8ce665fb2c8baa1ce3fed289206763df68818 /tests
parenta275b8a5ea188f0633caab60b3ab709de4239f1f (diff)
parent90f38b1023a10f8a5518bdcd04cb4e377d709fe9 (diff)
downloadtcl-ec5288cc2ead0d99034aac22e4b40fce966e3796.zip
tcl-ec5288cc2ead0d99034aac22e4b40fce966e3796.tar.gz
tcl-ec5288cc2ead0d99034aac22e4b40fce966e3796.tar.bz2
Audit and correct Object reference counting issues.
Diffstat (limited to 'tests')
-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}