summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-01-06 15:23:24 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-01-06 15:23:24 (GMT)
commit620bc7f55e07794231c616458b821a30cb7c8c95 (patch)
treec04803fd62d9f941bc939fff4426986adbda4566
parentc5400ebb09bad0749b45774ca10bd1dfa8b98b51 (diff)
downloadtcl-620bc7f55e07794231c616458b821a30cb7c8c95.zip
tcl-620bc7f55e07794231c616458b821a30cb7c8c95.tar.gz
tcl-620bc7f55e07794231c616458b821a30cb7c8c95.tar.bz2
Fix [Bug 2006879]
-rw-r--r--ChangeLog3
-rw-r--r--tests/expr.test7
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 61f6c7a..d60fa16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2009-01-06 Donal K. Fellows <dkf@users.sf.net>
- * tests/string.test: Eliminate non-ASCII characters. [Bug 2006884]
+ * tests/expr.test, tests/string.test: Eliminate non-ASCII characters.
+ [Bugs 2006884, 2006879]
2009-01-03 Kevin B. Kenny <kennykb@acm.org>:
diff --git a/tests/expr.test b/tests/expr.test
index 30aebc6..fd13bf9 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: expr.test,v 1.72.2.1 2008/10/05 21:25:23 kennykb Exp $
+# RCS: @(#) $Id: expr.test,v 1.72.2.2 2009/01/06 15:23:24 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -355,7 +355,10 @@ test expr-8.11 {CompileEqualityExpr: error compiling equality arm} -body {
expr 2!=x
} -returnCodes error -match glob -result *
test expr-8.12 {CompileBitAndExpr: equality expr} {expr {"a"eq"a"}} 1
-test expr-8.13 {CompileBitAndExpr: equality expr} {expr {"\374" eq "ü"}} 1
+test expr-8.13 {CompileBitAndExpr: equality expr} {
+ set s \u00fc
+ expr {"\374" eq $s}
+} 1
test expr-8.14 {CompileBitAndExpr: equality expr} {expr 3eq2} 0
test expr-8.15 {CompileBitAndExpr: equality expr} {expr 2.0eq2} 0
test expr-8.16 {CompileBitAndExpr: equality expr} {expr 3.2ne2.2} 1