@@ -88,13 +88,13 @@ void main() {
8888 });
8989
9090 group ('weightVariableTextStyle' , () {
91- Future < void > testWeights (
91+ void testWeights (
9292 String description, {
9393 required TextStyle Function (BuildContext context) styleBuilder,
9494 bool platformRequestsBold = false ,
9595 required List <FontVariation > expectedFontVariations,
9696 required FontWeight expectedFontWeight,
97- }) async {
97+ }) {
9898 testWidgets (description, (tester) async {
9999 addTearDown (testBinding.reset);
100100 tester.platformDispatcher.accessibilityFeaturesTestValue =
@@ -179,13 +179,13 @@ void main() {
179179 });
180180
181181 group ('bolderWghtTextStyle' , () {
182- Future < void > testBolderWghtTextStyle (
182+ void testBolderWghtTextStyle (
183183 String description, {
184184 required TextStyle Function (BuildContext context) makeStyle,
185185 bool platformRequestsBold = false ,
186186 required double expectedWght,
187187 required FontWeight expectedFontWeight,
188- }) async {
188+ }) {
189189 testWidgets (description, (tester) async {
190190 addTearDown (testBinding.reset);
191191 tester.platformDispatcher.accessibilityFeaturesTestValue =
@@ -340,12 +340,12 @@ void main() {
340340 });
341341
342342 group ('proportionalLetterSpacing' , () {
343- Future < void > testLetterSpacing (
343+ void testLetterSpacing (
344344 String description, {
345345 required double Function (BuildContext context) getValue,
346346 double ? ambientTextScaleFactor,
347347 required double expected,
348- }) async {
348+ }) {
349349 testWidgets (description, (tester) async {
350350 addTearDown (testBinding.reset);
351351 if (ambientTextScaleFactor != null ) {
@@ -394,7 +394,7 @@ void main() {
394394 });
395395
396396 group ('localizedTextBaseline' , () {
397- Future < void > testLocalizedTextBaseline (Locale locale, TextBaseline expected) async {
397+ void testLocalizedTextBaseline (Locale locale, TextBaseline expected) {
398398 testWidgets ('gives $expected for $locale ' , (tester) async {
399399 addTearDown (testBinding.reset);
400400 tester.platformDispatcher.localeTestValue = locale;
0 commit comments