summaryrefslogtreecommitdiffstats
path: root/tests/format.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format.test')
-rw-r--r--tests/format.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/format.test b/tests/format.test
index c6d9731..774fd1e 100644
--- a/tests/format.test
+++ b/tests/format.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: format.test,v 1.16 2003/05/14 23:04:32 dkf Exp $
+# RCS: @(#) $Id: format.test,v 1.17 2004/05/19 20:15:31 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -22,8 +22,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
# fail. Someday I hope this code shouldn't be necessary (code added
# 9/9/91).
-set ::tcltest::testConstraints(roundOffBug) \
- [expr {"[format %7.1e 68.514]" != "6.8e+01"}]
+testConstraint roundOffBug [expr {"[format %7.1e 68.514]" != "6.8e+01"}]
test format-1.1 {integer formatting} {
format "%*d %d %d %d" 6 34 16923 -12 -1