diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2009-01-06 15:23:24 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2009-01-06 15:23:24 (GMT) |
| commit | b34b48eb0bba6796c1a4890719855db1f6392672 (patch) | |
| tree | c04803fd62d9f941bc939fff4426986adbda4566 /tests/expr.test | |
| parent | fbeb00563ecc3185792b8ba3e06e377f6dc99f62 (diff) | |
| download | tcl-b34b48eb0bba6796c1a4890719855db1f6392672.zip tcl-b34b48eb0bba6796c1a4890719855db1f6392672.tar.gz tcl-b34b48eb0bba6796c1a4890719855db1f6392672.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 |
