Commit ae574981 authored by James D. Lin's avatar James D. Lin Committed by Michael Goderbauer

Make the matchesGoldenFile docs link to an explanation of how to create golden image files (#31093)

parent bf8262d8
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment