summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
diff options
context:
space:
mode:
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