Rename isAvailableForEnvironment to isForEnvironment (#143176) (#144858)
This is part 4 of a broken down version of the #140101 refactor. This PR renames isAvailableForEnvironment to isForEnvironment and replaces a regular expression with a simple function. (The latter will change the behaviour for people with branch names like `mainly_refactors` or `chess_master_experiment` or whatever, but I'm pretty sure the old behaviour was not intended.) ---- This is a reland of https://github.com/flutter/flutter/pull/143176 which was speculatively reverted in https://github.com/flutter/flutter/pull/144855 but turned out not to be the cause of the tree redness.
Showing
- packages/flutter_goldens/lib/flutter_goldens.dart 16 additions, 11 deletionspackages/flutter_goldens/lib/flutter_goldens.dart
- packages/flutter_goldens/test/comparator_selection_test.dart 10 additions, 3 deletionspackages/flutter_goldens/test/comparator_selection_test.dart
- packages/flutter_goldens/test/flutter_goldens_test.dart 20 additions, 20 deletionspackages/flutter_goldens/test/flutter_goldens_test.dart
Loading
Please register or sign in to comment