summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-24 03:35:31 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-24 03:35:31 (GMT)
commit485bc2fd887abb2501321c670e66c849da1b026c (patch)
treeb2c0b8c9ae8828da7015a73a121cbe7f7ae96972 /tests/cmdAH.test
parentfe5707421fbc57969c8e7c52a28162c090cc1624 (diff)
downloadtcl-485bc2fd887abb2501321c670e66c849da1b026c.zip
tcl-485bc2fd887abb2501321c670e66c849da1b026c.tar.gz
tcl-485bc2fd887abb2501321c670e66c849da1b026c.tar.bz2
Bug [40c61a5d10]. Fix syntax error message.
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 471d46a..ba78c23 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" or "(encoding |::tcl::encoding::)convertfrom data"}
+set "numargErrors(encoding convertto)" {wrong # args: should be "(encoding |::tcl::encoding::)convertto \?-profile profile\? \?-failindex var\? encoding data" or "(encoding |::tcl::encoding::)convertto data"}
set "numargErrors(encoding names)" {wrong # args: should be "encoding names"}
set "numargErrors(encoding profiles)" {wrong # args: should be "encoding profiles"}