summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-21 02:17:57 (GMT)
committerhobbs <hobbs>1999-10-21 02:17:57 (GMT)
commitf8731757a44ea7d7862aca7eb78ef21303b70e63 (patch)
tree38491f28fb6d7efc3025d8d5385a48876d471092 /tests
parent1ed0bec0caaa8524e4f1ced4e7c0718322ed44dc (diff)
downloadtcl-f8731757a44ea7d7862aca7eb78ef21303b70e63.zip
tcl-f8731757a44ea7d7862aca7eb78ef21303b70e63.tar.gz
tcl-f8731757a44ea7d7862aca7eb78ef21303b70e63.tar.bz2
new test cases
Diffstat (limited to 'tests')
-rw-r--r--tests/string.test7
-rw-r--r--tests/thread.test14
2 files changed, 7 insertions, 14 deletions
diff --git a/tests/string.test b/tests/string.test
index 59cacae..1e25073 100644
--- a/tests/string.test
+++ b/tests/string.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: string.test,v 1.20 1999/08/10 05:09:20 hobbs Exp $
+# RCS: @(#) $Id: string.test,v 1.21 1999/10/21 02:17:57 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -244,6 +244,11 @@ test string-5.15 {string index, bytearray object} {
set i2 [string index $b 1]
string compare $i1 $i2
} 0
+test string-5.16 {string index, bytearray object with string obj shimmering} {
+ set str "0123456789\x00 abcdedfghi"
+ binary scan $str H* dump
+ string compare [string index $str 10] \x00
+} 0
proc largest_int {} {
# This will give us what the largest valid int on this machine is,
diff --git a/tests/thread.test b/tests/thread.test
index 7e7033a..ae405e5 100644
--- a/tests/thread.test
+++ b/tests/thread.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: thread.test,v 1.7 1999/07/01 17:36:19 jenn Exp $
+# RCS: @(#) $Id: thread.test,v 1.8 1999/10/21 02:17:58 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -233,15 +233,3 @@ test thread-4.5 {TclThreadSend preserve errorCode} {testthread} {
# cleanup
::tcltest::cleanupTests
return
-
-
-
-
-
-
-
-
-
-
-
-