Unverified Commit 14faa8d9 authored by Justin McCandless's avatar Justin McCandless Committed by GitHub

Fix rounding error in build tests (#26652)

parent b4e9d0a4
......@@ -1757,7 +1757,7 @@ void main() {
// line text field).
final double lineHeight = findRenderEditable(tester).preferredLineHeight;
scrollableState = tester.firstState(find.byType(Scrollable));
expect(scrollableState.position.pixels, equals(lineHeight));
expect(scrollableState.position.pixels, closeTo(lineHeight, 0.1));
});
testWidgets('haptic feedback', (WidgetTester tester) async {
......
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