Skip to content

Commit 5bbb23e

Browse files
fix(test): avoid deprecated pipelineOwner in split handle semantics test
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e77a601 commit 5bbb23e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

test/core/layout/querya_split_handle_test.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,13 @@ void main() {
113113
),
114114
);
115115

116-
final node = tester.getSemantics(
117-
find.bySemanticsLabel('Resize connections and workspace panes'),
116+
final semantics = find.semantics.byLabel(
117+
'Resize connections and workspace panes',
118118
);
119-
final owner = tester.binding.pipelineOwner.semanticsOwner!;
120-
owner.performAction(node.id, SemanticsAction.increase);
119+
tester.semantics.increase(semantics);
121120
expect(totalDelta, 10);
122121
expect(discreteCount, 1);
123-
owner.performAction(node.id, SemanticsAction.decrease);
122+
tester.semantics.decrease(semantics);
124123
expect(totalDelta, 0);
125124
expect(discreteCount, 2);
126125
});

0 commit comments

Comments
 (0)