Unverified Commit fece72ca authored by Harsh Bhikadia's avatar Harsh Bhikadia Committed by GitHub

docs(flutter_test): fix mention of non-existing `matchesSemanticsNode` (#99659)

parent 95276ccc
......@@ -477,7 +477,7 @@ AsyncMatcher matchesReferenceImage(ui.Image image) {
///
/// ```dart
/// final SemanticsHandle handle = tester.ensureSemantics();
/// expect(tester.getSemantics(find.text('hello')), matchesSemanticsNode(label: 'hello'));
/// expect(tester.getSemantics(find.text('hello')), matchesSemantics(label: 'hello'));
/// handle.dispose();
/// ```
///
......
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