diff options
author | dgp <dgp@users.sourceforge.net> | 2008-10-08 16:13:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-10-08 16:13:42 (GMT) |
commit | 825b7d492bfa734ee85d7a0e39a3cd1540da3d5a (patch) | |
tree | a4ead3321d47f4804dfd48bb79c65830140708ac /tests/canvText.test | |
parent | d9e14151e9140669c93fd8e8bebdc85d115b2b24 (diff) | |
download | tk-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.
Diffstat (limited to 'tests/canvText.test')
-rw-r--r-- | tests/canvText.test | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |