summaryrefslogtreecommitdiffstats
path: root/tests/obj.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-12-06 20:09:00 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-12-06 20:09:00 (GMT)
commit44630c65ea86fc97d4cb3fafe2f5a993a6fc3577 (patch)
treed165903c60c1547fd74e79cc167dc88e30509e1b /tests/obj.test
parenta845cc18fdf89e21451533c22256738a9d41cfdd (diff)
downloadtcl-44630c65ea86fc97d4cb3fafe2f5a993a6fc3577.zip
tcl-44630c65ea86fc97d4cb3fafe2f5a993a6fc3577.tar.gz
tcl-44630c65ea86fc97d4cb3fafe2f5a993a6fc3577.tar.bz2
Purge the old and broken Tcl_ObjType.
Diffstat (limited to 'tests/obj.test')
-rw-r--r--tests/obj.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/obj.test b/tests/obj.test
index 4d57c08..ce1883a 100644
--- a/tests/obj.test
+++ b/tests/obj.test
@@ -27,7 +27,6 @@ test obj-1.1 {Tcl_AppendAllObjTypes, and InitTypeTable, Tcl_RegisterObjType} tes
set r 1
foreach {t} {
{array search}
- bytearray
bytecode
cmdName
dict
@@ -48,10 +47,10 @@ test obj-2.2 {Tcl_GetObjType and Tcl_ConvertToType} testobj {
set result ""
lappend result [testobj freeallvars]
lappend result [testintobj set 1 12]
- lappend result [testobj convert 1 bytearray]
+ lappend result [testobj convert 1 string]
lappend result [testobj type 1]
lappend result [testobj refcount 1]
-} {{} 12 12 bytearray 3}
+} {{} 12 12 string 3}
test obj-3.1 {Tcl_ConvertToType error} testobj {
list [testdoubleobj set 1 12.34] \