summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-11-03 22:12:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-11-03 22:12:17 (GMT)
commit870b7a666e2961a6ee6274b02949f725aebef34c (patch)
treedbac6a8b9101b5c3b8408a496f9cd0dc2f5b4ad6 /tests
parent85b5881a0a77a3e3f640365026d6c8722f83c4df (diff)
downloadtcl-870b7a666e2961a6ee6274b02949f725aebef34c.zip
tcl-870b7a666e2961a6ee6274b02949f725aebef34c.tar.gz
tcl-870b7a666e2961a6ee6274b02949f725aebef34c.tar.bz2
niggly test suite fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/expr-old.test4
-rw-r--r--tests/util.test5
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