diff options
Diffstat (limited to 'tests/regexpComp.test')
-rw-r--r-- | tests/regexpComp.test | 14 |
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 |