summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-10-24 23:30:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-10-24 23:30:35 (GMT)
commit40d9b81e23c10ebc3abfe4ac12af411d01318fb9 (patch)
tree7f5650997b92cac1f873905e0a191ba4dc82c5e7 /tests
parent1552384787fef03116569d8281bc0a69a02d6e3f (diff)
downloadtcl-40d9b81e23c10ebc3abfe4ac12af411d01318fb9.zip
tcl-40d9b81e23c10ebc3abfe4ac12af411d01318fb9.tar.gz
tcl-40d9b81e23c10ebc3abfe4ac12af411d01318fb9.tar.bz2
Stop using "identity" as an encoding to test basic functionng of the
[encoding] command. "iso8859-1" is another one always available.
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdAH.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 3c58c1b..03f4d66 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -188,7 +188,7 @@ test cmdAH-4.5 {Tcl_EncodingObjCmd} -setup {
test cmdAH-4.6 {Tcl_EncodingObjCmd} -setup {
set system [encoding system]
} -body {
- encoding system identity
+ encoding system iso8859-1
encoding convertto jis0208 \u4e4e
} -cleanup {
encoding system $system
@@ -210,7 +210,7 @@ test cmdAH-4.9 {Tcl_EncodingObjCmd} -setup {
test cmdAH-4.10 {Tcl_EncodingObjCmd} -setup {
set system [encoding system]
} -body {
- encoding system identity
+ encoding system iso8859-1
encoding convertfrom jis0208 8C
} -cleanup {
encoding system $system
@@ -224,11 +224,11 @@ test cmdAH-4.12 {Tcl_EncodingObjCmd} -returnCodes error -body {
test cmdAH-4.13 {Tcl_EncodingObjCmd} -setup {
set system [encoding system]
} -body {
- encoding system identity
+ encoding system iso8859-1
encoding system
} -cleanup {
encoding system $system
-} -result identity
+} -result iso8859-1
test cmdAH-5.1 {Tcl_FileObjCmd} -returnCodes error -body {
file