]> git.imager.perl.org - imager.git/commitdiff
offset in the test code instead
authorTony Cook <tony@develop=help.com>
Thu, 11 Mar 2010 02:17:13 +0000 (02:17 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 11 Mar 2010 02:17:13 +0000 (02:17 +0000)
t/t21draw.t

index cf7f3581327177a1f584d144344bbc753dc276a0..af5cfc78fb6c272cc977d4c71b089ae2b05bae7e 100644 (file)
@@ -252,7 +252,7 @@ my $white = '#FFFFFF';
     ok($im->arc(x => $cx, y => $cy, aa => 1, color => "#fff", 
                d1 => $an, d2 => $an+$step, filled => 0, r => 170),
       "angle starting from $an");
-    ok($im->arc(x => $cx, y => $cy, aa => 1, color => "#ff0", 
+    ok($im->arc(x => $cx+0.5, y => $cy+0.5, aa => 1, color => "#ff0", 
                d1 => $an, d2 => $an+$step, r => 168),
       "filled angle starting from $an");