summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-07 00:52:25 (GMT)
committerhobbs <hobbs>2002-02-07 00:52:25 (GMT)
commitab7b0d2ecb6a3cdf49109bf456aa0df5fb6369cb (patch)
tree25a443e710d5a7ddfd6fe69706d1da810938bf17 /tests/regexp.test
parent38ee0e28deb314012071b8b1d34e088b202e7a60 (diff)
downloadtcl-ab7b0d2ecb6a3cdf49109bf456aa0df5fb6369cb.zip
tcl-ab7b0d2ecb6a3cdf49109bf456aa0df5fb6369cb.tar.gz
tcl-ab7b0d2ecb6a3cdf49109bf456aa0df5fb6369cb.tar.bz2
extra code coverage cases
Diffstat (limited to 'tests/regexp.test')
-rw-r--r--tests/regexp.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/regexp.test b/tests/regexp.test
index e19f771..3e06061 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.17 2001/09/19 18:09:02 hobbs Exp $
+# RCS: @(#) $Id: regexp.test,v 1.18 2002/02/07 00:52:25 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -546,6 +546,9 @@ test regexp-20.1 {regsub shared object shimmering} {
regsub $a $c $b d
list $d [string length $d] [string bytelength $d]
} [list abcdefghijklmnopqurstuvwxyz0123456789 37 37]
+test regexp-20.2 {regsub shared object shimmering with -about} {
+ eval regexp -about abc
+} {0 {}}
# cleanup
::tcltest::cleanupTests