Make goldenFileComparator a field instead of a trivial property (#146800)
Removes an unnecessary abstraction.
This commit is contained in:
parent
05747cfa65
commit
3fadf9e2fb
@ -127,11 +127,7 @@ abstract class GoldenFileComparator {
|
||||
///
|
||||
/// * [flutter_test] for more information about how to configure tests at the
|
||||
/// directory-level.
|
||||
GoldenFileComparator get goldenFileComparator => _goldenFileComparator;
|
||||
GoldenFileComparator _goldenFileComparator = const TrivialComparator._();
|
||||
set goldenFileComparator(GoldenFileComparator value) {
|
||||
_goldenFileComparator = value;
|
||||
}
|
||||
GoldenFileComparator goldenFileComparator = const TrivialComparator._();
|
||||
|
||||
/// Compares image pixels against a golden image file.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user