File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,26 @@ void main() {
90
90
isTrue);
91
91
});
92
92
93
+ test (
94
+ 'Flutter is using the latest stable' ,
95
+ () async {
96
+ final flutterArchive = await fetchFlutterArchive ();
97
+ final currentStable = flutterArchive.releases.firstWhere (
98
+ (r) => r.hash == flutterArchive.currentRelease.stable,
99
+ orElse: () => null ,
100
+ );
101
+ assert (currentStable != null , 'Expected current stable to exist' );
102
+ expect (
103
+ flutterVersion,
104
+ equals (currentStable.version),
105
+ reason: '''Expected flutterVersion to be current stable
106
+ Please update flutterVersion in app/lib/shared/versions.dart
107
+ and do not format to also bump the runtimeVersion.''' ,
108
+ );
109
+ },
110
+ skip: false , // Note: this test is easily skipped.
111
+ );
112
+
93
113
test ('dartdoc version should match pkg/pub_dartdoc' , () async {
94
114
final yamlContent =
95
115
await File ('../pkg/pub_dartdoc/pubspec.yaml' ).readAsString ();
You can’t perform that action at this time.
0 commit comments