Skip to content

Commit d97a006

Browse files
authored
fix: Fixing CI on flutter 3.35 (#1339)
* fix: Fixing CI on flutter 3.35 * making core_test checking more robust * license checking test * updating bundle
1 parent 5cf058a commit d97a006

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

e2e/test/commands/create/flutter_app/core_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void main() {
4848
['coverage/lcov.info', '-o', 'coverage'],
4949
workingDirectory: workingDirectory,
5050
);
51-
expect(testCoverageResult.stdout, contains('lines......: 100.0%'));
51+
expect(testCoverageResult.stdout, matches(RegExp('lines(.+) 100.0%')));
5252
}),
5353
);
5454
}

e2e/test/commands/packages/check/licenses/licenses_allowed_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import '../../../../../helpers/helpers.dart';
1313
/// * Run `very_good packages check licenses --allowed="MIT"` and expect success
1414
void main() {
1515
test(
16-
'packages check licenses --allowed="MIT"',
16+
'packages check licenses --allowed="MIT,BSD-3-Clause"',
1717
timeout: const Timeout(Duration(minutes: 2)),
1818
withRunner((commandRunner, logger, updater, logs) async {
1919
final tempDirectory = Directory.systemTemp.createTempSync();
@@ -44,7 +44,7 @@ void main() {
4444
'packages',
4545
'check',
4646
'licenses',
47-
'--allowed=MIT',
47+
'--allowed=MIT,BSD-3-Clause',
4848
relativeProjectPath,
4949
]);
5050
expect(

0 commit comments

Comments
 (0)