Back to build
Raw log | Switch to full mode | Login

--packages-for-branch: running on branch "HEAD". Running for all packages that have diffs relative to "7a9fb615925df304795a800f56d9810330c14723" Changed packages: video_player/video_player Downloading Google Java Format... Formatting .java files... Running command: "java -jar /b/s/w/ir/x/w/packages/.repo_tool_cache/google-java-format-1.28.0-all-deps.jar --replace video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java video_player/video_player/example/android/app/src/androidTest/java/io/flutter/plugins/videoplayerexample/FlutterActivityTest.java video_player/video_player/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java" in /b/s/w/ir/x/w/packages/packages Formatting .cc, .cpp, .h, .m, and .mm files... Running command: "clang-format -i --style=file video_player/video_player/example/ios/Runner/GeneratedPluginRegistrant.h video_player/video_player/example/ios/Runner/GeneratedPluginRegistrant.m video_player/video_player/example/ios/Runner/Runner-Bridging-Header.h" in /b/s/w/ir/x/w/packages/packages --packages-for-branch: running on branch "HEAD". Running for all packages that have diffs relative to "7a9fb615925df304795a800f56d9810330c14723" Changed packages: video_player/video_player ============================================================ || Running for packages/video_player/video_player [@0:01] ============================================================ Formatting .dart files... Running command: "dart format example/integration_test/controller_swap_test.dart example/integration_test/video_player_test.dart example/lib/audio_tracks_demo.dart example/lib/basic.dart example/lib/main.dart example/test_driver/integration_test.dart lib/src/closed_caption_file.dart lib/src/sub_rip.dart lib/src/web_vtt.dart lib/video_player.dart test/closed_caption_file_test.dart test/flutter_test_config.dart test/sub_rip_file_test.dart test/video_player_initialization_test.dart test/video_player_test.dart test/web_vtt_test.dart" in /b/s/w/ir/x/w/packages/packages/video_player/video_player Formatted test/video_player_test.dart Formatted 16 files (1 changed) in 0.08 seconds. [packages/video_player/video_player completed in 0m 0s] These files are not formatted correctly (see diff below): packages/video_player/video_player/test/video_player_test.dart To fix run the repository tooling `format` command: https://github.com/flutter/packages/blob/main/script/tool/README.md#format-code or copy-paste this command into your terminal: patch -p1 <<DONE diff --git a/packages/video_player/video_player/test/video_player_test.dart b/packages/video_player/video_player/test/video_player_test.dart index 6731afd1b1..4239623a7c 100644 --- a/packages/video_player/video_player/test/video_player_test.dart +++ b/packages/video_player/video_player/test/video_player_test.dart @@ -1030,11 +1030,13 @@ void main() { } expect(isSorted, false, reason: 'Expected captions to be unsorted'); - expect( - captions.map((Caption c) => c.text).toList(), - <String>['one', 'two', 'three', 'five', 'four'], - reason: 'Captions should be in original unsorted order', - ); + expect(captions.map((Caption c) => c.text).toList(), <String>[ + 'one', + 'two', + 'three', + 'five', + 'four', + ], reason: 'Captions should be in original unsorted order'); }); test('works when seeking, includes all captions', () async { DONE