summaryrefslogtreecommitdiffstats
path: root/tests/utf.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-18 11:24:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-18 11:24:23 (GMT)
commit7566b1eb16a459b4da0ec48e3de2771b8184c909 (patch)
treebf42a1db6ab9708ddf932ce0088f2f32e70aa992 /tests/utf.test
parenta6250b7467b38acdb154e904cd9903bab188810d (diff)
downloadtcl-7566b1eb16a459b4da0ec48e3de2771b8184c909.zip
tcl-7566b1eb16a459b4da0ec48e3de2771b8184c909.tar.gz
tcl-7566b1eb16a459b4da0ec48e3de2771b8184c909.tar.bz2
[Bug 3393714] overflow in toupper delta
Diffstat (limited to 'tests/utf.test')
-rw-r--r--tests/utf.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/utf.test b/tests/utf.test
index 63be814..5e78666 100644
--- a/tests/utf.test
+++ b/tests/utf.test
@@ -244,8 +244,9 @@ test utf-16.1 {Tcl_UniCharToLower, negative delta} {
string tolower aA
} aa
test utf-16.2 {Tcl_UniCharToLower, positive delta} {
- string tolower \u0178\u00ff
-} \u00ff\u00ff
+ string tolower \u0178\u00ff\uA78D
+} \u00ff\u00ff\u0265
+
test utf-17.1 {Tcl_UniCharToLower, no delta} {
string tolower !
} !