From a05c97c312f6ae91008390f4790ba81600bd0b1e Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 22 Feb 2002 21:54:22 +0000 Subject: * tests/regexpComp.test: updated regexp-11.[1-4] to match changes in regexp.test for new regsub syntax --- tests/regexpComp.test | 14 +++++++------- 1 file 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 -- cgit v0.12