diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-01-06 15:23:24 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-01-06 15:23:24 (GMT) |
commit | 620bc7f55e07794231c616458b821a30cb7c8c95 (patch) | |
tree | c04803fd62d9f941bc939fff4426986adbda4566 /tests/expr.test | |
parent | c5400ebb09bad0749b45774ca10bd1dfa8b98b51 (diff) | |
download | tcl-620bc7f55e07794231c616458b821a30cb7c8c95.zip tcl-620bc7f55e07794231c616458b821a30cb7c8c95.tar.gz tcl-620bc7f55e07794231c616458b821a30cb7c8c95.tar.bz2 |
Fix [Bug 2006879]
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 7 |
1 files changed, 5 insertions, 2 deletions
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 |