summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-10-08 16:13:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-10-08 16:13:42 (GMT)
commit825b7d492bfa734ee85d7a0e39a3cd1540da3d5a (patch)
treea4ead3321d47f4804dfd48bb79c65830140708ac
parentd9e14151e9140669c93fd8e8bebdc85d115b2b24 (diff)
downloadtk-825b7d492bfa734ee85d7a0e39a3cd1540da3d5a.zip
tk-825b7d492bfa734ee85d7a0e39a3cd1540da3d5a.tar.gz
tk-825b7d492bfa734ee85d7a0e39a3cd1540da3d5a.tar.bz2
* tests/canvText.test (canText-17.1): Update expected result to
match revised PostScript output due to more predictable formatting of floating point values.
-rw-r--r--ChangeLog4
-rw-r--r--tests/canvText.test6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ffa5622..9d97cea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-10-08 Don Porter <dgp@users.sourceforge.net>
+ * tests/canvText.test (canText-17.1): Update expected result to
+ match revised PostScript output due to more predictable formatting
+ of floating point values.
+
* unix/tkUnixWm.c: Restored consistency of error messages from
* macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across
all platforms. [Bug 2021443]
diff --git a/tests/canvText.test b/tests/canvText.test
index cbaf0bf..533a316 100644
--- a/tests/canvText.test
+++ b/tests/canvText.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvText.test,v 1.19 2008/10/07 00:10:07 patthoyts Exp $
+# RCS: @(#) $Id: canvText.test,v 1.20 2008/10/08 16:13:42 dgp Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -862,7 +862,7 @@ test canvText-17.1 {TextToPostscript procedure} -setup {
\[(000)\]
\[(000)\]
\[(00)\]
-] $ay -0.5 0 0 false DrawText
+] $ay -0.5 0.0 0 false DrawText
grestore
restore showpage
@@ -877,7 +877,7 @@ end
.c itemconfig test -anchor n -fill black
set x [.c postscript]
set x [string range $x [string first "/Courier-Oblique" $x] end]
- expr {$x eq $result}
+ expr {$x eq $result}
} -result 1
test canvText-18.1 {bug fix 2525, find enclosed on text with newlines} -setup {