summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-23 10:22:58 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-23 10:22:58 (GMT)
commitd1920b380d4a987240715b3ce72f7d68dfca2b09 (patch)
treea22bd0f0b2f0ce35c5f2e269a3af6b30feca9541 /tests
parent320eaab50106eb8df4f716854678decead0e23dd (diff)
downloadtcl-d1920b380d4a987240715b3ce72f7d68dfca2b09.zip
tcl-d1920b380d4a987240715b3ce72f7d68dfca2b09.tar.gz
tcl-d1920b380d4a987240715b3ce72f7d68dfca2b09.tar.bz2
Fix gcc warnings and encoding error message (bug [40c61a5d10])
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdAH.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index cfde678..d76607c 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -175,8 +175,8 @@ test cmdAH-3.2 {Tcl_ContinueObjCmd, success} {
# encoding command
set "numargErrors(encoding system)" {^wrong # args: should be "(encoding |::tcl::encoding::)system \?encoding\?"$}
-set "numargErrors(encoding convertfrom)" {^wrong # args: should be "(encoding |::tcl::encoding::)convertfrom \?\?-profile profile\? \?-failindex var\? \?encoding\?\? data"$}
-set "numargErrors(encoding convertto)" {^wrong # args: should be "(encoding |::tcl::encoding::)convertto \?\?-profile profile\? \?-failindex var\? \?encoding\?\? data"$}
+set "numargErrors(encoding convertfrom)" {^wrong # args: should be "(encoding |::tcl::encoding::)convertfrom \? \?-profile profile\? \?-failindex var\? encoding \? data"$}
+set "numargErrors(encoding convertto)" {^wrong # args: should be "(encoding |::tcl::encoding::)convertto \? \?-profile profile\? \?-failindex var\? encoding \? data"$}
set "numargErrors(encoding names)" {wrong # args: should be "encoding names"}
set "numargErrors(encoding profiles)" {wrong # args: should be "encoding profiles"}