Always pass a function to BooleanSelector.evaluate (#1125)
Prepare for a potential breaking change in `package:boolean_selector`. Currently the `evaluate` method takes an argument which is either an `Iterable<String>` or a `bool Function(String)` which matches the `.toSet()contains` tearoff on that Iterable. We might tighten that to always take a `bool Function(String)` since the tearoff is easy to handle at the calling side.
Showing
- pkgs/test_api/lib/src/backend/metadata.dart 1 addition, 1 deletionpkgs/test_api/lib/src/backend/metadata.dart
- pkgs/test_core/lib/src/runner.dart 2 additions, 2 deletionspkgs/test_core/lib/src/runner.dart
- pkgs/test_core/lib/src/runner/loader.dart 2 additions, 1 deletionpkgs/test_core/lib/src/runner/loader.dart
- pkgs/test_core/lib/src/runner/suite.dart 1 addition, 1 deletionpkgs/test_core/lib/src/runner/suite.dart
Loading
Please register or sign in to comment