From 620bc7f55e07794231c616458b821a30cb7c8c95 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 6 Jan 2009 15:23:24 +0000 Subject: Fix [Bug 2006879] --- ChangeLog | 3 ++- tests/expr.test | 7 +++++-- 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 - * 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 : 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 -- cgit v0.12