mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make the matchesGoldenFile docs link to an explanation of how to create golden image files (#31093)
This commit is contained in:
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user