summaryrefslogtreecommitdiffstats
path: root/tests/obj.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 09:39:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 09:39:09 (GMT)
commitdd86b2ccf689da2f5fe2cbe596dfdeae0775bbe5 (patch)
tree7bb450068eb4efbc3969ba8fff1e0a991137f3b9 /tests/obj.test
parent5c84448bc3a680c20869126343cf360aec080a86 (diff)
parentad592b227ac22205b291773260d52a4ce6aa62b7 (diff)
downloadtcl-dd86b2ccf689da2f5fe2cbe596dfdeae0775bbe5.zip
tcl-dd86b2ccf689da2f5fe2cbe596dfdeae0775bbe5.tar.gz
tcl-dd86b2ccf689da2f5fe2cbe596dfdeae0775bbe5.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/obj.test')
-rw-r--r--tests/obj.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/obj.test b/tests/obj.test
index 8a74a05..e10cebf 100644
--- a/tests/obj.test
+++ b/tests/obj.test
@@ -34,7 +34,7 @@ test obj-1.1 {Tcl_AppendAllObjTypes, and InitTypeTable, Tcl_RegisterObjType} tes
string
} {
set first [string first $t [testobj types]]
- set r [expr {$r && ($first != -1)}]
+ set r [expr {$r && ($first >= 0)}]
}
set result $r
} {1}