summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-04-12 23:53:27 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-04-12 23:53:27 (GMT)
commit7d90cc50f22d633813d2ed620542d15a55755352 (patch)
treeaa718b73f97ef99aff5ba5429cb57605ace0226a /tests/stringObj.test
parentc878e211c9ae8106d3afb570e8019243b50b5554 (diff)
downloadtcl-7d90cc50f22d633813d2ed620542d15a55755352.zip
tcl-7d90cc50f22d633813d2ed620542d15a55755352.tar.gz
tcl-7d90cc50f22d633813d2ed620542d15a55755352.tar.bz2
Stop direct use of the identity encoding in tests.
Diffstat (limited to 'tests/stringObj.test')
-rw-r--r--tests/stringObj.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stringObj.test b/tests/stringObj.test
index 1ac8b84..b62b768 100644
--- a/tests/stringObj.test
+++ b/tests/stringObj.test
@@ -427,10 +427,10 @@ test stringObj-13.6 {Tcl_GetCharLength with mixed width chars} testobj {
} {10 10}
test stringObj-13.7 {Tcl_GetCharLength with identity nulls} testobj {
# SF bug #684699
- string length [encoding convertfrom identity \x00]
+ string length [bytestring \x00]
} 1
test stringObj-13.8 {Tcl_GetCharLength with identity nulls} testobj {
- string length [encoding convertfrom identity \x01\x00\x02]
+ string length [bytestring \x01\x00\x02]
} 3
test stringObj-14.1 {Tcl_SetObjLength on pure unicode object} testobj {