Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Jul 28, 2024
1 parent 5929b19 commit 6a944b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/performance_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
run: |
flutter drive -d macos --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile
flutter drive -d macos --driver=test_driver/performance_driver.dart --target=integration_test/editing_test.dart --profile
dart run test_utils/analyze_performance_result.dart
- name: Analyze results
working-directory: ./packages/fleather/example
run: dart run test_utils/analyze_performance_result.dart

- name: Save reference summary
if: github.ref == 'refs/heads/master'
Expand Down
3 changes: 2 additions & 1 deletion packages/fleather/example/integration_test/editing_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ void main() {
controller.updateSelection(
TextSelection.collapsed(offset: document.length - 1));
await tester.pump();
await tester.ime.typeText('Hello, World!', finder: find.byType(RawEditor));
await tester.ime
.typeText('Hello, World!', finder: find.byType(RawEditor));
},
reportKey: 'editing_timeline',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ void main() {
outputBuffer.write(targetValue.toStringAsFixed(2));
}
if (referenceValue != null) {
outputBuffer
.writeln(' Reference: ${referenceValue.toStringAsFixed(2)}');
outputBuffer.writeln(' Reference: ${referenceValue.toStringAsFixed(2)}');
} else {
outputBuffer.writeln();
}
Expand Down

0 comments on commit 6a944b9

Please sign in to comment.