Skip to content

Commit 897e4ab

Browse files
authored
Merge branch 'main' into dependabot/pub/very_good_analysis-7.0.0
2 parents 52a33e0 + a8bec3a commit 897e4ab

7 files changed

+8
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.3.1.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml

bricks/r13n/hooks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ dependencies:
1515
dev_dependencies:
1616
mocktail: ^1.0.0
1717
test: ^1.21.1
18-
very_good_analysis: ^6.0.0
18+
very_good_analysis: ^7.0.0

bricks/r13n/hooks/test/lib/r13n_arb_document_missing_region_tag_exception_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not needed for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'package:r13n_hooks/hooks.dart';

bricks/r13n/hooks/test/lib/r13n_compatibility_exception_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not needed for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'package:r13n_hooks/hooks.dart';

bricks/r13n/hooks/test/lib/r13n_yaml_parse_exception_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not needed for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'package:r13n_hooks/hooks.dart';

bricks/r13n/hooks/test/lib/runtime_compatibility_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not needed for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'dart:io';
@@ -44,7 +45,7 @@ void main() {
4445
tearDown(() {
4546
try {
4647
tempDir.deleteSync(recursive: true);
47-
} catch (_) {}
48+
} on Exception catch (_) {}
4849
});
4950

5051
test('throws when a pubspec.lock does not exist', () {

bricks/r13n/hooks/test/pre_gen_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ sdks:
144144
final exitCalls = <int>[];
145145
try {
146146
await pre_gen.preGen(hookContext, exit: exitCalls.add);
147-
} catch (err) {
147+
} on Exception catch (err) {
148148
expect(err, isA<R13nException>());
149149
}
150150
expect(exitCalls, equals([]));

0 commit comments

Comments
 (0)