From 91c4b4a31ca712c4c39082e313e8c793f26b415b Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 3 Nov 2004 22:12:17 +0000 Subject: niggly test suite fixes --- tests/expr-old.test | 4 ++-- tests/util.test | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/expr-old.test b/tests/expr-old.test index 90f5cd0..b984ba9 100644 --- a/tests/expr-old.test +++ b/tests/expr-old.test @@ -13,7 +13,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-old.test,v 1.16.2.2 2004/07/03 22:13:11 msofer Exp $ +# RCS: @(#) $Id: expr-old.test,v 1.16.2.3 2004/11/03 22:12:17 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -995,7 +995,7 @@ test expr-old-39.1 {Rounding with wide result} { } set x } {1 1} -unset x y +unset -nocomplain x y # Special test for Pentium arithmetic bug of 1994: diff --git a/tests/util.test b/tests/util.test index a3d181c..c16cd58 100644 --- a/tests/util.test +++ b/tests/util.test @@ -7,7 +7,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: util.test,v 1.10.4.2 2003/08/27 20:09:49 dgp Exp $ +# RCS: @(#) $Id: util.test,v 1.10.4.3 2004/11/03 22:12:17 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -314,8 +314,7 @@ test util-8.1 {TclNeedSpace - correct UTF8 handling} { set result } "\u5420 foo" -set ::tcltest::testConstraints(testdstring) \ - [expr {[info commands testdstring] != {}}] +tcltest::testConstraint testdstring [expr {[info commands testdstring] != {}}] test util-8.2 {TclNeedSpace - correct UTF8 handling} testdstring { # Bug 411825 -- cgit v0.12