Skip to content

Commit

Permalink
Prepares semantics_update_test for upcoming heading level changes (#1…
Browse files Browse the repository at this point in the history
…49671)

The pr flutter/engine#41435 adds a new property into updateNode. 

The pr migrate the method in framework first to unblock the engine pr
  • Loading branch information
chunhtai authored Jun 4, 2024
1 parent 9d1de7b commit 72b45e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/test/semantics/semantics_update_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ class SemanticsUpdateBuilderSpy extends Fake implements ui.SemanticsUpdateBuilde
required Int32List childrenInTraversalOrder,
required Int32List childrenInHitTestOrder,
required Int32List additionalActions,
int headingLevel = 0,
}) {
// Makes sure we don't send the same id twice.
assert(!observations.containsKey(id));
Expand Down

0 comments on commit 72b45e1

Please sign in to comment.