summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-04-17 04:51:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-04-17 04:51:48 (GMT)
commit1edc023972ada28abd9649c5e153f0705ba1268d (patch)
treef21b178bec673567c0ae029810b29645ea0f68b0
parentc998be1b068916a8009a76867ed4eaed8938d19b (diff)
downloadtcl-1edc023972ada28abd9649c5e153f0705ba1268d.zip
tcl-1edc023972ada28abd9649c5e153f0705ba1268d.tar.gz
tcl-1edc023972ada28abd9649c5e153f0705ba1268d.tar.bz2
more test fixes
-rw-r--r--tests/utf.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/utf.test b/tests/utf.test
index e8b1d51..c584ea1 100644
--- a/tests/utf.test
+++ b/tests/utf.test
@@ -415,9 +415,9 @@ test utf-6.85 {Tcl_UtfNext - overlong sequences} testutfnext {
test utf-6.86 {Tcl_UtfNext - overlong sequences} testutfnext {
testutfnext \xF0\x80\x80\x80
} 1
-test utf-6.87 {Tcl_UtfNext - overlong sequences} {testutfnext} { # Doesn't work with TCL_UTF_MAX>3
+test utf-6.87 {Tcl_UtfNext - overlong sequences} {testutfnext} {
testutfnext \xF0\x90\x80\x80
-} 1
+} 4
test utf-6.88 {Tcl_UtfNext, pointing to 2th byte of 3-byte valid sequence} {testutfnext} {
testutfnext \xE8\xA0\xA0 1
} 2
@@ -628,13 +628,13 @@ test utf-7.37 {Tcl_UtfPrev -- overlong sequence} testutfprev {
test utf-7.38 {Tcl_UtfPrev -- overlong sequence} testutfprev {
testutfprev A\xE0\xA0\x80 2
} 1
-test utf-7.39 {Tcl_UtfPrev -- overlong sequence} {testutfprev} { # Doesn't work with TCL_UTF_MAX>3
+test utf-7.39 {Tcl_UtfPrev -- overlong sequence} {testutfprev} {
testutfprev A\xF0\x90\x80\x80
} 1
-test utf-7.40 {Tcl_UtfPrev -- overlong sequence} {testutfprev} { # Doesn't work with TCL_UTF_MAX>3
+test utf-7.40 {Tcl_UtfPrev -- overlong sequence} {testutfprev} {
testutfprev A\xF0\x90\x80\x80 4
} 1
-test utf-7.41 {Tcl_UtfPrev -- overlong sequence} {testutfprev} { # Doesn't work with TCL_UTF_MAX>3
+test utf-7.41 {Tcl_UtfPrev -- overlong sequence} {testutfprev} {
testutfprev A\xF0\x90\x80\x80 3
} 1
test utf-7.42 {Tcl_UtfPrev -- overlong sequence} testutfprev {