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)
commit667535b90dd874c53772570d4bcc498c158452c6 (patch)
treebf42a1db6ab9708ddf932ce0088f2f32e70aa992 /tests/utf.test
parent3b92efc33d10a2042ab874a2812b293de57c54a1 (diff)
downloadtcl-667535b90dd874c53772570d4bcc498c158452c6.zip
tcl-667535b90dd874c53772570d4bcc498c158452c6.tar.gz
tcl-667535b90dd874c53772570d4bcc498c158452c6.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 !
} !