Unverified Commit 3b1ad168 authored by Gary Qian's avatar Gary Qian Committed by GitHub

Add additional expects to check if LineMetrics flake is a race (#49261)

parent d68278e3
......@@ -741,6 +741,9 @@ void main() {
painter.layout(maxWidth: 300);
expect(painter.text, const TextSpan(text: text));
expect(painter.preferredLineHeight, 14);
final List<ui.LineMetrics> lines = painter.computeLineMetrics();
expect(lines.length, 4);
......
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