summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-02-12 10:27:26 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-02-12 10:27:26 (GMT)
commita0d41bb652b196bbd0c803b2b99e9ea7e90ea72d (patch)
tree1015742b0c591ebbf006e3238cce06d43e40164f /tests
parent6711d80d15faa5f9241e77a778c4b81a537730ec (diff)
downloadtcl-a0d41bb652b196bbd0c803b2b99e9ea7e90ea72d.zip
tcl-a0d41bb652b196bbd0c803b2b99e9ea7e90ea72d.tar.gz
tcl-a0d41bb652b196bbd0c803b2b99e9ea7e90ea72d.tar.bz2
Fix [Bug 1891827]
Diffstat (limited to 'tests')
-rw-r--r--tests/switch.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/switch.test b/tests/switch.test
index 8b1a4a5..45f494f 100644
--- a/tests/switch.test
+++ b/tests/switch.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: switch.test,v 1.19 2007/12/19 21:09:38 hobbs Exp $
+# RCS: @(#) $Id: switch.test,v 1.20 2008/02/12 10:27:27 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -501,6 +501,12 @@ rename cswtest-exact {}
rename iswtest-exact {}
rename cswtest2-exact {}
rename iswtest2-exact {}
+# Bug 1891827
+test switch-10.15 {(not) compiled exact nocase regression} {
+ apply {{} {
+ switch -nocase -- A { a {return yes} default {return no} }
+ }}
+} yes
# Added due to TIP#75
test switch-11.1 {regexp matching with -matchvar} {