Enable more web tests; use blacklist to filter them out (#41922)
Add more web tests;use blacklist instead of whitelist
This commit is contained in:
@@ -1026,8 +1026,8 @@ double _sizeDistance(Size a, Size b) {
|
||||
/// The distance is computed by a [DistanceFunction].
|
||||
///
|
||||
/// If `distanceFunction` is null, a standard distance function is used for the
|
||||
/// `runtimeType` of the `from` argument. Standard functions are defined for
|
||||
/// the following types:
|
||||
/// `T` generic argument. Standard functions are defined for the following
|
||||
/// types:
|
||||
///
|
||||
/// * [Color], whose distance is the maximum component-wise delta.
|
||||
/// * [Offset], whose distance is the Euclidean distance computed using the
|
||||
@@ -1050,7 +1050,7 @@ Matcher within<T>({
|
||||
@required T from,
|
||||
DistanceFunction<T> distanceFunction,
|
||||
}) {
|
||||
distanceFunction ??= _kStandardDistanceFunctions[from.runtimeType];
|
||||
distanceFunction ??= _kStandardDistanceFunctions[T];
|
||||
|
||||
if (distanceFunction == null) {
|
||||
throw ArgumentError(
|
||||
|
||||
Reference in New Issue
Block a user