mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
libtxt: update a test for differences in rounding when calculating line heights (#12572)
This commit is contained in:
parent
1f531595cf
commit
d8380201bd
|
@ -87,7 +87,7 @@ void main() {
|
|||
// Scaled text rendering is different on Linux and Mac by one pixel.
|
||||
// TODO(#12357): Update this test when text rendering is fixed.
|
||||
expect(tester.getSize(find.byType(Text)).width, isIn(<double>[54.0, 55.0]));
|
||||
expect(tester.getSize(find.byType(Text)).height, equals(19.0));
|
||||
expect(tester.getSize(find.byType(Text)).height, isIn(<double>[18.0, 19.0]));
|
||||
|
||||
|
||||
// Set text scale large enough to expand text and button.
|
||||
|
|
Loading…
Reference in a new issue