Prepares semantics_update_test for upcoming link URL change (#151261)

Prepares for https://github.com/flutter/engine/pull/53507 by adding a missing parameter to the `updateNode` test method.

Part of https://github.com/flutter/flutter/issues/150263
This commit is contained in:
Harry Terkelsen 2024-07-03 13:31:23 -07:00 committed by GitHub
parent aad381638d
commit 8e44e94e22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,6 +213,7 @@ class SemanticsUpdateBuilderSpy extends Fake implements ui.SemanticsUpdateBuilde
required Int32List childrenInHitTestOrder, required Int32List childrenInHitTestOrder,
required Int32List additionalActions, required Int32List additionalActions,
int headingLevel = 0, int headingLevel = 0,
String? linkUrl,
}) { }) {
// Makes sure we don't send the same id twice. // Makes sure we don't send the same id twice.
assert(!observations.containsKey(id)); assert(!observations.containsKey(id));