Skip to content

Commit

Permalink
dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
nohli committed Sep 14, 2024
1 parent 7259a07 commit 3a213d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/fluttium/test/src/tester_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ void main() {
semanticsOwner = _MockSemanticsOwner();

final pipelineOwner = _MockPipelineOwner();
when(() => binding.rootPipelineOwner)
.thenReturn(pipelineOwner);
when(() => binding.rootPipelineOwner).thenReturn(pipelineOwner);
when(() => pipelineOwner.semanticsOwner).thenReturn(semanticsOwner);

rootNode = MockSemanticsNode();
Expand Down Expand Up @@ -494,8 +493,7 @@ void main() {
semanticsOwner = _MockSemanticsOwner();

final pipelineOwner = _MockPipelineOwner();
when(() => binding.rootPipelineOwner)
.thenReturn(pipelineOwner);
when(() => binding.rootPipelineOwner).thenReturn(pipelineOwner);
when(() => pipelineOwner.semanticsOwner).thenReturn(semanticsOwner);

rootNode = MockSemanticsNode();
Expand Down

0 comments on commit 3a213d0

Please sign in to comment.