[cairo-commit:00088] rcairo/rcairo [master] [test][surface][recording] fix expected value. close #4

null+rcairo at clear-code.com null+rcairo at clear-code.com
Fri May 27 08:38:25 EDT 2011


Kouhei Sutou	2011-05-27 12:38:25 +0000 (Fri, 27 May 2011)

  New Revision: 1f517d36feb65d86fe82b21980d20b59858a3a65

  Log:
    [test][surface][recording] fix expected value. close #4
    
    This expected value change is cuased by the bug fix in cairo:
    https://bugs.freedesktop.org/show_bug.cgi?id=24691

  Modified files:
    test/test_recording_surface.rb

  Modified: test/test_recording_surface.rb (+1 -1)
===================================================================
--- test/test_recording_surface.rb    2011-05-27 12:08:34 +0000 (7d9b1c1)
+++ test/test_recording_surface.rb    2011-05-27 12:38:25 +0000 (17dd777)
@@ -13,6 +13,6 @@ class RecordingSurfaceTest < Test::Unit::TestCase
       context.line_to(80, 100)
       context.stroke
     end
-    assert_equal([10.0, 20.0, 99.0, 109.0], surface.ink_extents)
+    assert_equal([14.0, 29.0, 67.0, 72.0], surface.ink_extents)
   end
 end



More information about the cairo-commit mailing list