summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-03 13:20:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-03 13:20:47 (GMT)
commit678d2103f907e0064ca38b7840d792bff8c0871a (patch)
tree0c8776463aba54407f877dd42881a37cd2f74d3a /tests
parent9e0083e9f07d37493c802ab11661736fa680e12c (diff)
downloadtcl-678d2103f907e0064ca38b7840d792bff8c0871a.zip
tcl-678d2103f907e0064ca38b7840d792bff8c0871a.tar.gz
tcl-678d2103f907e0064ca38b7840d792bff8c0871a.tar.bz2
Fix encoding-15.6 testacase for TCL_UTF_MAX=6, due to changes escape sequences for upper/lower surrogate combination.
Diffstat (limited to 'tests')
-rw-r--r--tests/encoding.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 36fcff6..15aba11 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -342,8 +342,8 @@ test encoding-15.6 {UtfToUtfProc emoji character output} {
set x \uDE02\uD83D\uDE02\uD83D
set y [encoding convertto utf-8 \uDE02\uD83D\uDE02\uD83D]
binary scan $y H* z
- list [string length $x] [string length $y] $z
-} {4 10 edb882f09f9882eda0bd}
+ list [string length $y] $z
+} {10 edb882f09f9882eda0bd}
test encoding-15.7 {UtfToUtfProc emoji character output} {
set x \uDE02\uD83D\uD83D
set y [encoding convertto utf-8 \uDE02\uD83D\uD83D]