summaryrefslogtreecommitdiffstats
path: root/tests/canvImg.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-10-07 00:10:07 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-10-07 00:10:07 (GMT)
commit01f60c1822d79d1e3fabe3a6927e171133dea465 (patch)
treeb0007825c5b06d89c801e6373ec10da94dc257c1 /tests/canvImg.test
parent5aeb51bc17cdc6ed0610f83a87aa404ba60cd449 (diff)
downloadtk-01f60c1822d79d1e3fabe3a6927e171133dea465.zip
tk-01f60c1822d79d1e3fabe3a6927e171133dea465.tar.gz
tk-01f60c1822d79d1e3fabe3a6927e171133dea465.tar.bz2
Removed dependency on default precision
Diffstat (limited to 'tests/canvImg.test')
-rw-r--r--tests/canvImg.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test
index 94f818a..d4bce0a 100644
--- a/tests/canvImg.test
+++ b/tests/canvImg.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvImg.test,v 1.10 2008/08/11 21:33:17 aniap Exp $
+# RCS: @(#) $Id: canvImg.test,v 1.11 2008/10/07 00:10:07 patthoyts Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -98,11 +98,11 @@ test canvImg-3.1 {ImageCoords procedure} -constraints testImageType -setup {
image create test foo
} -body {
.c create image 50 100 -image foo -tags i1
- .c coords i1
+ format {%.6g %.6g} {*}[.c coords i1]
} -cleanup {
.c delete all
image delete foo
-} -result {50.0 100.0}
+} -result {50 100}
test canvImg-3.2 {ImageCoords procedure} -constraints testImageType -setup {
image create test foo
} -body {