summaryrefslogtreecommitdiffstats
path: root/tests/regexpComp.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-21 22:22:27 (GMT)
committernijtmans <nijtmans>2008-07-21 22:22:27 (GMT)
commit57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69 (patch)
tree939859d1daf31c3aa07ae3bd9ef742426f0aa190 /tests/regexpComp.test
parentee89317ed438f41a8fa968d3a117332e96b7f155 (diff)
downloadtcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.zip
tcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.tar.gz
tcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'tests/regexpComp.test')
-rw-r--r--tests/regexpComp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regexpComp.test b/tests/regexpComp.test
index e9c324f..7feaa5f 100644
--- a/tests/regexpComp.test
+++ b/tests/regexpComp.test
@@ -259,12 +259,12 @@ test regexpComp-6.1 {regexp errors} {
evalInProc {
list [catch {regexp a} msg] $msg
}
-} {1 {wrong # args: should be "regexp ?-switch ...? exp string ?matchVar? ?subMatchVar subMatchVar ...?"}}
+} {1 {wrong # args: should be "regexp ?-switch ...? exp string ?matchVar? ?subMatchVar ...?"}}
test regexpComp-6.2 {regexp errors} {
evalInProc {
list [catch {regexp -nocase a} msg] $msg
}
-} {1 {wrong # args: should be "regexp ?-switch ...? exp string ?matchVar? ?subMatchVar subMatchVar ...?"}}
+} {1 {wrong # args: should be "regexp ?-switch ...? exp string ?matchVar? ?subMatchVar ...?"}}
test regexpComp-6.3 {regexp errors} {
evalInProc {
list [catch {regexp -gorp a} msg] $msg