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) { ...@@ -477,7 +477,7 @@ AsyncMatcher matchesReferenceImage(ui.Image image) {
/// ///
/// ```dart /// ```dart
/// final SemanticsHandle handle = tester.ensureSemantics(); /// 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(); /// 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