summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2002-02-22 21:54:22 (GMT)
committerhobbs <hobbs@noemail.net>2002-02-22 21:54:22 (GMT)
commitede3bcb66fc714a4e3f99725cfc816dfe1e24799 (patch)
tree779a46e10751c7136973f53f520ffaa736cf7366 /tests
parent55ec12239dd1d1cfe17c3e16c267c7c1c4d55ee7 (diff)
downloadtcl-ede3bcb66fc714a4e3f99725cfc816dfe1e24799.zip
tcl-ede3bcb66fc714a4e3f99725cfc816dfe1e24799.tar.gz
tcl-ede3bcb66fc714a4e3f99725cfc816dfe1e24799.tar.bz2
* tests/regexpComp.test: updated regexp-11.[1-4] to match changes
in regexp.test for new regsub syntax FossilOrigin-Name: 0ff096e886cd987777268fff70ee1728233fc42b
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