Skip to content

Commit adc1d8a

Browse files
chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 (#1365)
* chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 Bumps [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) from 9.0.0 to 10.0.0. - [Release notes](https://github.com/VeryGoodOpenSource/very_good_analysis/releases) - [Changelog](https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/CHANGELOG.md) - [Commits](VeryGoodOpenSource/very_good_analysis@v9.0.0...v10.0.0) --- updated-dependencies: - dependency-name: very_good_analysis dependency-version: 10.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix: lints * chore: update test optimizer bundle * chore: regenerate bundles * chore: regenerate spdx license * chore: regenerate bundles * chore(e2e): use 100% cov on flame game * chore: generate bundles * chore: regenerate bundles * fix: tests * revert docusaurus config * chore: formatting * fix: use regex for e2e tests * chore: regenerate very_good_core bundle * fix: unawait test command --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcos Sevilla <[email protected]> Co-authored-by: Marcos Sevilla <[email protected]>
1 parent 1f72e86 commit adc1d8a

File tree

28 files changed

+101
-108
lines changed

28 files changed

+101
-108
lines changed

.github/workflows/e2e.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ on:
2121
jobs:
2222
e2e:
2323
runs-on: ubuntu-latest
24-
2524
strategy:
2625
matrix:
2726
test:

bricks/test_optimizer/hooks/lib/pre_gen.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// No need for documentation in brick hooks
2-
// ignore_for_file: public_member_api_docs
3-
41
import 'dart:io';
52

63
import 'package:hooks/dart_identifier_generator.dart';

bricks/test_optimizer/hooks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ dependencies:
1313
dev_dependencies:
1414
mocktail: ^1.0.0
1515
test: ^1.25.0
16-
very_good_analysis: ^9.0.0
16+
very_good_analysis: ^10.0.0

e2e/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ dev_dependencies:
1313
pub_updater: ^0.5.0
1414
test: ^1.25.0
1515
universal_io: ^2.0.4
16-
very_good_analysis: ^9.0.0
16+
very_good_analysis: ^10.0.0
1717
very_good_cli:
1818
path: ../

e2e/test/commands/create/dart_cli/dart_cli_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void main() {
6464
['coverage/lcov.info', '-o', 'coverage'],
6565
workingDirectory: workingDirectory,
6666
);
67-
expect(testCoverageResult.stdout, contains('lines......: 100.0%'));
67+
expect(testCoverageResult.stdout, matches(RegExp('lines(.+) 100.0%')));
6868
}),
6969
);
7070
}

e2e/test/commands/create/dart_package/dart_pkg_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void main() {
6565
['coverage/lcov.info', '-o', 'coverage'],
6666
workingDirectory: workingDirectory,
6767
);
68-
expect(testCoverageResult.stdout, contains('lines......: 100.0%'));
68+
expect(testCoverageResult.stdout, matches(RegExp('lines(.+) 100.0%')));
6969
}),
7070
);
7171
}

e2e/test/commands/create/flutter_package/flutter_pkg_test.dart

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

e2e/test/commands/create/flutter_plugin/flutter_plugin_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void main() {
6565
['coverage/lcov.info', '-o', 'coverage'],
6666
workingDirectory: packageDirectory,
6767
);
68-
expect(testCoverageResult.stdout, contains('lines......: 100.0%'));
68+
expect(testCoverageResult.stdout, matches(RegExp('lines(.+) 100.0%')));
6969
}
7070
}),
7171
);

e2e/test/commands/test/async_main/async_main_test.dart

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ void main() {
2222

2323
await copyDirectory(fixture, tempDirectory);
2424

25-
await expectSuccessfulProcessResult('flutter', [
26-
'pub',
27-
'get',
28-
], workingDirectory: tempDirectory.path);
25+
await expectSuccessfulProcessResult(
26+
'flutter',
27+
['pub', 'get'],
28+
workingDirectory: tempDirectory.path,
29+
);
2930

3031
final cwd = Directory.current;
3132
Directory.current = tempDirectory;
32-
addTearDown(() {
33-
Directory.current = cwd;
34-
});
33+
addTearDown(() => Directory.current = cwd);
3534

3635
final result = await commandRunner.run(['test']);
3736
expect(result, equals(ExitCode.success.code));

e2e/test/commands/test/compilation_error/compilation_error_test.dart

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,23 @@ void main() {
2020
tempDirectory,
2121
);
2222

23-
await expectSuccessfulProcessResult('flutter', [
24-
'pub',
25-
'get',
26-
], workingDirectory: tempDirectory.path);
23+
await expectSuccessfulProcessResult(
24+
'flutter',
25+
['pub', 'get'],
26+
workingDirectory: tempDirectory.path,
27+
);
2728

2829
final cwd = Directory.current;
2930
Directory.current = tempDirectory;
30-
addTearDown(() {
31-
Directory.current = cwd;
32-
});
31+
addTearDown(() => Directory.current = cwd);
3332

3433
final result = await commandRunner.run(['test']);
3534

3635
expect(result, equals(ExitCode.unavailable.code));
3736
verify(
38-
() => logger.err(any(that: contains('- test/.test_optimizer.dart'))),
37+
() => logger.err(
38+
any(that: contains('- test/.test_optimizer.dart')),
39+
),
3940
).called(1);
4041
}),
4142
);

0 commit comments

Comments
 (0)