docs(flutter_test): fix mention of non-existing matchesSemanticsNode
(#99659)
This commit is contained in:
parent
95276ccc82
commit
fece72cac7
@ -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();
|
||||
/// ```
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user