Unverified Commit 3e66c86a authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Make a paragraph test involving Chinese characters work with inconsistent host...

Make a paragraph test involving Chinese characters work with inconsistent host system fonts (#129628)

Text tests are run using the Ahem font, and test host environments such
as LUCI may not provide a fallback font for Chinese glyphs.
parent 4b238d54
......@@ -843,8 +843,7 @@ void main() {
paintingContext.canvas.clear();
paragraph.paint(paintingContext, Offset.zero);
expect(paintingContext.canvas.drawnRect,
const Rect.fromLTWH(0.0, 0.0, 14.0, 14.0));
expect(paintingContext.canvas.drawnRect!.isEmpty, false);
expect(paintingContext.canvas.drawnRectPaint!.style, PaintingStyle.fill);
expect(paintingContext.canvas.drawnRectPaint!.color, selectionColor);
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/61016
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment