aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-10-10 08:19:01 +1000
committerSteve Bennett <steveb@workware.net.au>2011-10-10 08:19:01 +1000
commit510a65c687133c537b428992d0b1df6c336deaeb (patch)
tree4ce036628d4e46767088e3bfdadb032f23bd707a /tests
parentdfbde800afdabc83efc9ebe087b1aed6a90136d8 (diff)
downloadjimtcl-510a65c687133c537b428992d0b1df6c336deaeb.zip
jimtcl-510a65c687133c537b428992d0b1df6c336deaeb.tar.gz
jimtcl-510a65c687133c537b428992d0b1df6c336deaeb.tar.bz2
Simplify the way unicode case mapping is done
Smaller, faster and includes title-case characters. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/utf8.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utf8.test b/tests/utf8.test
index 04c5b57..715df13 100644
--- a/tests/utf8.test
+++ b/tests/utf8.test
@@ -125,4 +125,8 @@ test utf8-7.2 {append counts correctly} {
list [string length $x] [string bytelength $x]
} {8 12}
+test utf8-7.3 {Upper, lower for titlecase utf-8} {
+ list [string toupper \u01c5] [string tolower \u01c5]
+} "\u01c4 \u01c6"
+
testreport