summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-03-23 18:58:23 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-03-23 18:58:23 (GMT)
commit3c7607b302a61f6886a3b37da765cb1c504894c7 (patch)
tree0b6e155cf266d8d9c66b96f668d170265ff2e227 /tests/env.test
parent4c7418154459748105c861ca4f9cee3559ca1169 (diff)
downloadtcl-3c7607b302a61f6886a3b37da765cb1c504894c7.zip
tcl-3c7607b302a61f6886a3b37da765cb1c504894c7.tar.gz
tcl-3c7607b302a61f6886a3b37da765cb1c504894c7.tar.bz2
* tests/env.test: With case preserved (see 2006-03-21 commit)
be sure to do case-insensitive filtering. [Bug 1457065]
Diffstat (limited to 'tests/env.test')
-rw-r--r--tests/env.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/env.test b/tests/env.test
index f388f67..fdcb16d 100644
--- a/tests/env.test
+++ b/tests/env.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: env.test,v 1.26 2006/03/21 15:32:17 dgp Exp $
+# RCS: @(#) $Id: env.test,v 1.27 2006/03/23 18:58:27 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -62,7 +62,7 @@ test env-1.3 {reflection of env by "array names"} {
set printenvScript [makeFile {
proc lrem {listname name} {
upvar $listname list
- set i [lsearch $list $name]
+ set i [lsearch -nocase $list $name]
if {$i >= 0} {
set list [lreplace $list $i $i]
}