summaryrefslogtreecommitdiffstats
path: root/tests/obj.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-24 10:34:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-24 10:34:11 (GMT)
commit5e7d6ef8fae9debf78ec144defd6c447fef59192 (patch)
tree3640aa66fa95f3d28a22297bd0641c27a8b6def6 /tests/obj.test
parentf87dce59c2695416ac275e2b3807e7e43b45aac5 (diff)
downloadtcl-5e7d6ef8fae9debf78ec144defd6c447fef59192.zip
tcl-5e7d6ef8fae9debf78ec144defd6c447fef59192.tar.gz
tcl-5e7d6ef8fae9debf78ec144defd6c447fef59192.tar.bz2
Fix constraints so can test with tclsh as well as tcltest [Bug 736431]
Diffstat (limited to 'tests/obj.test')
-rw-r--r--tests/obj.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/obj.test b/tests/obj.test
index da7ee7d..c802fb0 100644
--- a/tests/obj.test
+++ b/tests/obj.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: obj.test,v 1.9 2004/06/18 15:06:43 dkf Exp $
+# RCS: @(#) $Id: obj.test,v 1.10 2004/06/24 10:34:12 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -45,7 +45,7 @@ test obj-1.1 {Tcl_AppendAllObjTypes, and InitTypeTable, Tcl_RegisterObjType} tes
test obj-2.1 {Tcl_GetObjType error} testobj {
list [testintobj set 1 0] [catch {testobj convert 1 foo} msg] $msg
} {0 1 {no type foo found}}
-test obj-2.2 {Tcl_GetObjType and Tcl_ConvertToType} {
+test obj-2.2 {Tcl_GetObjType and Tcl_ConvertToType} testobj {
set result ""
lappend result [testobj freeallvars]
lappend result [testintobj set 1 12]