Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit c986058

Browse files
author
Emmanuel Garcia
authored
[video_player] Fix video player test (#3361)
1 parent b4466e7 commit c986058

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/video_player/video_player/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety.6
2+
3+
* Fix `VideoPlayerValue toString()` test.
4+
15
## 2.0.0-nullsafety.5
26

37
* Fix outdated links across a number of markdown files ([#3276](https://github.com/flutter/plugins/pull/3276))

packages/video_player/video_player/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Flutter plugin for displaying inline video with other Flutter
44
# 0.10.y+z is compatible with 1.0.0, if you land a breaking change bump
55
# the version to 2.0.0.
66
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
7-
version: 2.0.0-nullsafety.5
7+
version: 2.0.0-nullsafety.6
88
homepage: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player
99

1010
flutter:

packages/video_player/video_player/test/video_player_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ void main() {
567567
'VideoPlayerValue(duration: 0:00:05.000000, '
568568
'size: Size(400.0, 300.0), '
569569
'position: 0:00:01.000000, '
570-
'caption: Caption(number: null, start: null, end: null, text: foo), '
570+
'caption: Caption(number: 0, start: 0:00:00.000000, end: 0:00:00.000000, text: foo), '
571571
'buffered: [DurationRange(start: 0:00:00.000000, end: 0:00:04.000000)], '
572572
'isInitialized: true, '
573573
'isPlaying: true, '

0 commit comments

Comments
 (0)