Commit 1f531595 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Use non-whitespace contents in a button padding test (#12568)

libtxt has different policies than Blink for trimming whitespace.  This change
will make the test results consistent in both text renderers.
parent e8aa40ed
......@@ -75,7 +75,7 @@ void main() {
testWidgets('Custom padding', (WidgetTester tester) async {
await tester.pumpWidget(boilerplate(child: const CupertinoButton(
child: const Text(' ', style: testStyle),
child: const Text('X', style: testStyle),
onPressed: null,
padding: const EdgeInsets.all(100.0),
)));
......
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