diff options
| author | nijtmans <nijtmans> | 2008-07-21 22:22:27 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-21 22:22:27 (GMT) |
| commit | 384ec55fbf43a0af33d0e6a4dbffbf50597d2408 (patch) | |
| tree | 939859d1daf31c3aa07ae3bd9ef742426f0aa190 /tests/regexp.test | |
| parent | ae4bafc2dc07232aec347d39c74cecadff84cacc (diff) | |
| download | tcl-384ec55fbf43a0af33d0e6a4dbffbf50597d2408.zip tcl-384ec55fbf43a0af33d0e6a4dbffbf50597d2408.tar.gz tcl-384ec55fbf43a0af33d0e6a4dbffbf50597d2408.tar.bz2 | |
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'tests/regexp.test')
| -rw-r--r-- | tests/regexp.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regexp.test b/tests/regexp.test index b32d027..5b0f886 100644 --- a/tests/regexp.test +++ b/tests/regexp.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: regexp.test,v 1.31 2008/07/21 21:25:22 nijtmans Exp $ +# RCS: @(#) $Id: regexp.test,v 1.32 2008/07/21 22:22:28 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -194,10 +194,10 @@ test regexp-5.5 {exercise cache of compiled expressions} { test regexp-6.1 {regexp errors} { 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 regexp-6.2 {regexp errors} { 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 regexp-6.3 {regexp errors} { list [catch {regexp -gorp a} msg] $msg } {1 {bad switch "-gorp": must be -all, -about, -indices, -inline, -expanded, -line, -linestop, -lineanchor, -nocase, -start, or --}} |
