summaryrefslogtreecommitdiffstats
path: root/tests/string.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-29 07:32:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-29 07:32:27 (GMT)
commitfe0e5c84250f9e45fcbf320d121a961c767b3b5a (patch)
tree16da915c01901a75c3b1b232f49329d41e094bea /tests/string.test
parentf5577bc0ca1c7f01baac7f612ad52f3526ffe327 (diff)
parent7fa60e4fb188f417e4b968ef37085cc9c1c171e2 (diff)
downloadtcl-fe0e5c84250f9e45fcbf320d121a961c767b3b5a.zip
tcl-fe0e5c84250f9e45fcbf320d121a961c767b3b5a.tar.gz
tcl-fe0e5c84250f9e45fcbf320d121a961c767b3b5a.tar.bz2
Merge to feature branch
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test
index 92f544e..85a7372 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -1626,6 +1626,14 @@ test string-24.12 {string reverse command - corner case} {
test string-24.13 {string reverse command - pure Unicode string} {
string reverse [string range \ubeef\udead\ubeef\udead\ubeef\udead 1 5]
} \udead\ubeef\udead\ubeef\udead
+test string-24.14 {string reverse command - pure bytearray} {
+ binary scan [string reverse [binary format H* 010203]] H* x
+ set x
+} 030201
+test string-24.15 {string reverse command - pure bytearray} {
+ binary scan [tcl::string::reverse [binary format H* 010203]] H* x
+ set x
+} 030201
test string-25.1 {string is list} {
string is list {a b c}