Skip to content

Commit 28181ee

Browse files
chore: upgrade very_good_analysis to 10.1.0-rc.2
1 parent 9e9ea40 commit 28181ee

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

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: ^10.0.0
16+
very_good_analysis: ^10.1.0-rc.2

e2e/helpers/command_helper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void Function() _overridePrint(void Function(List<String>) fn) {
1515
return () {
1616
final printLogs = <String>[];
1717
final spec = ZoneSpecification(
18-
print: (_, _, _, String msg) {
18+
print: (_, _, _, msg) {
1919
printLogs.add(msg);
2020
},
2121
);

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: ^10.0.0
16+
very_good_analysis: ^10.1.0-rc.2
1717
very_good_cli:
1818
path: ../

lib/src/cli/templates/test_optimizer_bundle.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dev_dependencies:
3838
build_verify: ^3.1.0
3939
mocktail: ^1.0.4
4040
test: ^1.25.8
41-
very_good_analysis: ^10.0.0
41+
very_good_analysis: ^10.1.0-rc.2
4242

4343
executables:
4444
very_good:

test/helpers/command_helper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void Function() _overridePrint(void Function(List<String>) fn) {
1515
return () {
1616
final printLogs = <String>[];
1717
final spec = ZoneSpecification(
18-
print: (_, _, _, String msg) {
18+
print: (_, _, _, msg) {
1919
printLogs.add(msg);
2020
},
2121
);

test/src/commands/dart/commands/dart_test_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void main() {
8585
dartTest = _MockDartTestCommand();
8686
testCommand = DartTestCommand(
8787
logger: logger,
88-
dartInstalled: ({required Logger logger}) async => isFlutterInstalled,
88+
dartInstalled: ({required logger}) async => isFlutterInstalled,
8989
dartTest: dartTest.call,
9090
)..argResultOverrides = argResults;
9191
when(

test/src/commands/packages/commands/check/commands/licenses_test.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ and limitations under the License.''');
10951095
veryGoodTestRunnerConfigPackage,
10961096
cliCompletionConfigPackage,
10971097
});
1098-
detectLicenseOverride = (String name, _) async {
1098+
detectLicenseOverride = (name, _) async {
10991099
final detectorResult = _MockResult();
11001100
final licenseMatch = name == veryGoodTestRunnerConfigPackage.name
11011101
? [mitLicenseMatch]
@@ -1142,7 +1142,7 @@ and limitations under the License.''');
11421142
veryGoodTestRunnerConfigPackage,
11431143
cliCompletionConfigPackage,
11441144
});
1145-
detectLicenseOverride = (String name, _) async {
1145+
detectLicenseOverride = (name, _) async {
11461146
final detectorResult = _MockResult();
11471147
final licenseMatch = name == veryGoodTestRunnerConfigPackage.name
11481148
? [mitLicenseMatch]
@@ -1191,7 +1191,7 @@ and limitations under the License.''');
11911191
veryGoodTestRunnerConfigPackage,
11921192
cliCompletionConfigPackage,
11931193
});
1194-
detectLicenseOverride = (String name, _) async {
1194+
detectLicenseOverride = (name, _) async {
11951195
final detectorResult = _MockResult();
11961196
final licenseMatch = name == veryGoodTestRunnerConfigPackage.name
11971197
? [mitLicenseMatch]
@@ -1315,7 +1315,7 @@ and limitations under the License.''');
13151315
veryGoodTestRunnerConfigPackage.name: [mitLicenseMatch],
13161316
cliCompletionConfigPackage.name: [bsdLicenseMatch],
13171317
};
1318-
detectLicenseOverride = (String name, _) async {
1318+
detectLicenseOverride = (name, _) async {
13191319
final detectorResult = _MockResult();
13201320
final licenseMatch = packageLicenseMatch[name]!;
13211321

@@ -1364,7 +1364,7 @@ and limitations under the License.''');
13641364
veryGoodTestRunnerConfigPackage.name: [mitLicenseMatch],
13651365
cliCompletionConfigPackage.name: [bsdLicenseMatch],
13661366
};
1367-
detectLicenseOverride = (String name, _) async {
1367+
detectLicenseOverride = (name, _) async {
13681368
final detectorResult = _MockResult();
13691369
final licenseMatch = packageLicenseMatch[name]!;
13701370

@@ -1415,7 +1415,7 @@ and limitations under the License.''');
14151415
veryGoodTestRunnerConfigPackage.name: [mitLicenseMatch],
14161416
cliCompletionConfigPackage.name: [bsdLicenseMatch],
14171417
};
1418-
detectLicenseOverride = (String name, _) async {
1418+
detectLicenseOverride = (name, _) async {
14191419
final detectorResult = _MockResult();
14201420
final licenseMatch = packageLicenseMatch[name]!;
14211421

test/src/commands/test/test_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void main() {
8686
flutterTest = _MockFlutterTestCommand();
8787
testCommand = TestCommand(
8888
logger: logger,
89-
flutterInstalled: ({required Logger logger}) async =>
89+
flutterInstalled: ({required logger}) async =>
9090
isFlutterInstalled,
9191
flutterTest: flutterTest.call,
9292
)..argResultOverrides = argResults;

tool/spdx_license/hooks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ dependencies:
1818
dev_dependencies:
1919
mocktail: ^1.0.3
2020
test: ">=1.25.2 <1.27.0"
21-
very_good_analysis: ^10.0.0
21+
very_good_analysis: ^10.1.0-rc.2

0 commit comments

Comments
 (0)