diff options
author | dgp <dgp@noemail.net> | 2008-10-08 16:13:41 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-10-08 16:13:41 (GMT) |
commit | d56b469bc4e7340155a74a78574b56811d3a780b (patch) | |
tree | a4ead3321d47f4804dfd48bb79c65830140708ac /tests/canvText.test | |
parent | a8010afe6c67e35d13bd9608333c63aca4cfc408 (diff) | |
download | tk-d56b469bc4e7340155a74a78574b56811d3a780b.zip tk-d56b469bc4e7340155a74a78574b56811d3a780b.tar.gz tk-d56b469bc4e7340155a74a78574b56811d3a780b.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.
FossilOrigin-Name: 4a79db8bbc3b052f5a062fc4f8b48e5ba1d823db
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 { |