diff options
Diffstat (limited to 'tests/listObj.test')
| -rw-r--r-- | tests/listObj.test | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/listObj.test b/tests/listObj.test index 515592b..d7fb46c 100644 --- a/tests/listObj.test +++ b/tests/listObj.test @@ -10,14 +10,15 @@ # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -# -# RCS: @(#) $Id: listObj.test,v 1.8.10.1 2010/03/18 20:38:43 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest namespace import -force ::tcltest::* } +::tcltest::loadTestedCommands +catch [list package require -exact Tcltest [info patchlevel]] + testConstraint testobj [llength [info commands testobj]] catch {unset x} @@ -195,10 +196,14 @@ test listobj-10.1 {Bug [2971669]} {*}{ -result {{a b c d e} {} {a b c d e f}} } +test listobj-11.1 {Bug 3598580: Tcl_ListObjReplace refcount management} testobj { + testobj bug3598580 +} 123 + # cleanup ::tcltest::cleanupTests return # Local Variables: # mode: tcl -# End:
\ No newline at end of file +# End: |
