| Index: tests/html/canvasrenderingcontext2d_test.dart
|
| diff --git a/tests/html/canvasrenderingcontext2d_test.dart b/tests/html/canvasrenderingcontext2d_test.dart
|
| index ffd8b8db6cb0e743ab1064fcef15e51795713121..6d87a648a795490d6756500d46106ce463fb1567 100644
|
| --- a/tests/html/canvasrenderingcontext2d_test.dart
|
| +++ b/tests/html/canvasrenderingcontext2d_test.dart
|
| @@ -688,7 +688,9 @@ main() {
|
| expectPixelFilled(x + 10, y);
|
|
|
| // The box does not draw after `width` pixels.
|
| - expectPixelFilled(x + width - 1, y);
|
| + // Check -2 rather than -1 because this seems
|
| + // to run into a rounding error on Mac bots.
|
| + expectPixelFilled(x + width - 2, y);
|
| expectPixelUnfilled(x + width + 1, y);
|
| });
|
|
|
| @@ -709,7 +711,9 @@ main() {
|
| expectPixelFilled(x + 10, y);
|
|
|
| // The box does not draw after `width` pixels.
|
| - expectPixelFilled(x + width - 1, y);
|
| + // Check -2 rather than -1 because this seems
|
| + // to run into a rounding error on Mac bots.
|
| + expectPixelFilled(x + width - 2, y);
|
| expectPixelUnfilled(x + width + 1, y);
|
| });
|
|
|
|
|