summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-22 21:54:22 (GMT)
committerhobbs <hobbs>2002-02-22 21:54:22 (GMT)
commita05c97c312f6ae91008390f4790ba81600bd0b1e (patch)
tree779a46e10751c7136973f53f520ffaa736cf7366 /tests
parent359560feea3745c1f1c6b64fa04e07c5f79ce05d (diff)
downloadtcl-a05c97c312f6ae91008390f4790ba81600bd0b1e.zip
tcl-a05c97c312f6ae91008390f4790ba81600bd0b1e.tar.gz
tcl-a05c97c312f6ae91008390f4790ba81600bd0b1e.tar.bz2
* tests/regexpComp.test: updated regexp-11.[1-4] to match changes
in regexp.test for new regsub syntax
Diffstat (limited to 'tests')
-rw-r--r--tests/regexpComp.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/regexpComp.test b/tests/regexpComp.test
index 1bb73eb..cc17af5 100644
--- a/tests/regexpComp.test
+++ b/tests/regexpComp.test
@@ -503,24 +503,24 @@ test regexp-10.5 {inverse partial newline sensitivity in regsub} {
test regexp-11.1 {regsub errors} {
evalInProc {
- list [catch {regsub a b c} msg] $msg
+ list [catch {regsub a b} msg] $msg
}
-} {1 {wrong # args: should be "regsub ?switches? exp string subSpec varName"}}
+} {1 {wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"}}
test regexp-11.2 {regsub errors} {
evalInProc {
- list [catch {regsub -nocase a b c} msg] $msg
+ list [catch {regsub -nocase a b} msg] $msg
}
-} {1 {wrong # args: should be "regsub ?switches? exp string subSpec varName"}}
+} {1 {wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"}}
test regexp-11.3 {regsub errors} {
evalInProc {
- list [catch {regsub -nocase -all a b c} msg] $msg
+ list [catch {regsub -nocase -all a b} msg] $msg
}
-} {1 {wrong # args: should be "regsub ?switches? exp string subSpec varName"}}
+} {1 {wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"}}
test regexp-11.4 {regsub errors} {
evalInProc {
list [catch {regsub a b c d e f} msg] $msg
}
-} {1 {wrong # args: should be "regsub ?switches? exp string subSpec varName"}}
+} {1 {wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"}}
test regexp-11.5 {regsub errors} {
evalInProc {
list [catch {regsub -gorp a b c} msg] $msg