From 825b7d492bfa734ee85d7a0e39a3cd1540da3d5a Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 8 Oct 2008 16:13:42 +0000 Subject: * tests/canvText.test (canText-17.1): Update expected result to match revised PostScript output due to more predictable formatting of floating point values. --- ChangeLog | 4 ++++ tests/canvText.test | 6 +++--- 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 + * 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 { -- cgit v0.12