forked from firka/flutter
Make the matchesGoldenFile docs link to an explanation of how to create golden image files (#31093)
This commit is contained in:
committed by
Michael Goderbauer
parent
bf8262d85b
commit
ae5749819b
@@ -297,6 +297,9 @@ Matcher coversSameAreaAs(Path expectedPath, { @required Rect areaToCompare, int
|
||||
/// await expectLater(imageFuture, matchesGoldenFile('save.png'));
|
||||
/// ```
|
||||
///
|
||||
/// Golden image files can be created or updated by running `flutter test
|
||||
/// --update-goldens` on the test.
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
/// * [goldenFileComparator], which acts as the backend for this matcher.
|
||||
|
||||
Reference in New Issue
Block a user