summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-05-22 01:20:09 (GMT)
committerstanton <stanton@noemail.net>1999-05-22 01:20:09 (GMT)
commitb2b32ae547b69377ed50c0309b1f7f6fd5571a45 (patch)
tree4b7c61e6c670f227cf4d603907157fb6246d2d50 /tests/regexp.test
parent0499890222c417d23b4ffbb24b6f819f9f80c429 (diff)
downloadtcl-b2b32ae547b69377ed50c0309b1f7f6fd5571a45.zip
tcl-b2b32ae547b69377ed50c0309b1f7f6fd5571a45.tar.gz
tcl-b2b32ae547b69377ed50c0309b1f7f6fd5571a45.tar.bz2
Merged changes from scriptics-tclpro-1-3-b2 branch
FossilOrigin-Name: f692388d0781830f1c23ef04ebbfb509ecc8d671
Diffstat (limited to 'tests/regexp.test')
-rw-r--r--tests/regexp.test7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/regexp.test b/tests/regexp.test
index d1e58cd..c6c5b40 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.4 1999/05/13 01:50:33 stanton Exp $
+# RCS: @(#) $Id: regexp.test,v 1.5 1999/05/22 01:20:14 stanton Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -381,11 +381,14 @@ test regexp-13.2 {CompileRegexp: regexp cache, different flags} {
append x *a
regexp -nocase $x bbba
} 1
+test regexp-13.3 {CompileRegexp: regexp cache, empty regexp and empty cache} {
+ makeFile {puts [regexp {} foo]} junk.tcl
+ exec $tcltest junk.tcl
+} 1
set x 1
set y 2
regexp "$x$y" 123
-
# cleanup
::tcltest::cleanupTests