Kate Lovett 42fb0b2313
Fix text theme dart fix cases (#125052)
Fixes https://github.com/flutter/flutter/issues/125049

This is blocking the dart roll, dart fix will now fix some invalid code that was in these test cases. These test case files are un-analyzed intentionally because they are by nature samples of broken code.
2023-04-18 18:06:06 +00:00
..
2022-11-08 01:17:03 +00:00
2022-11-08 01:17:03 +00:00

Directory contents

The Dart files and golden master .expect files in this directory are used to test the dart fix framework refactorings used by the Flutter framework.

See the flutter/packages/flutter/lib/fix_data directory for the current package:flutter data-driven fixes.

To run these tests locally, execute this command in the flutter/packages/flutter/test_fixes directory.

dart fix --compare-to-golden

For more documentation about Data Driven Fixes, see https://dart.dev/go/data-driven-fixes#test-folder.

To learn more about how fixes are authored in package:flutter, see https://github.com/flutter/flutter/wiki/Data-driven-Fixes

When making structural changes to this directory

The tests in this directory are also invoked from external repositories. Specifically, the CI system for the dart-lang/sdk repo runs these tests in order to ensure that changes to the dart fix file format do not break Flutter.

See tools/bots/flutter/analyze_flutter_flutter.sh for where the tests are invoked.

When possible, please coordinate changes to this directory that might affect the analyze_flutter_flutter.sh script.