diff --git a/packages/flutter/test/widgets/basic_test.dart b/packages/flutter/test/widgets/basic_test.dart index fc96b78db4..5fb6bc82ef 100644 --- a/packages/flutter/test/widgets/basic_test.dart +++ b/packages/flutter/test/widgets/basic_test.dart @@ -471,11 +471,11 @@ void main() { children: [ Text('big text', key: key1, - style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize1), + style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize1, height: 1.0), ), Text('one\ntwo\nthree\nfour\nfive\nsix\nseven', key: key2, - style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize2), + style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize2, height: 1.0), ), ], ), @@ -526,11 +526,11 @@ void main() { children: [ Text('big text', key: key1, - style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize1), + style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize1, height: 1.0), ), Text('one\ntwo\nthree\nfour\nfive\nsix\nseven', key: key2, - style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize2), + style: const TextStyle(fontFamily: 'FlutterTest', fontSize: fontSize2, height: 1.0), ), const FlutterLogo(size: 250), ],