Skip to content

Commit

Permalink
Fix CI (#3306)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Jan 26, 2024
1 parent 255efb3 commit a0b8d21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ int sixth(SixthRef ref) => 0;

expect(
errors[5].message,
'Failed to parse dependency Type (int*)',
'Failed to parse dependency Type (int)',
);
expect(errors[5].targetElement?.toString(), 'int sixth(InvalidType ref)');
});
Expand Down
1 change: 1 addition & 0 deletions packages/riverpod_lint_flutter_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.6
custom_lint: ^0.5.2
custom_lint_core: ^0.5.10
freezed: ^2.3.2
json_serializable: ^6.6.1
riverpod_lint:
Expand Down
5 changes: 4 additions & 1 deletion packages/riverpod_lint_flutter_test/test/golden.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ void testGolden(
try {
expect(
changes,
matcherNormalizedPrioritizedSourceChangeSnapshot(fileName),
matcherNormalizedPrioritizedSourceChangeSnapshot(
fileName,
encoder: const JsonEncoder.withIndent(' '),
),
);
} on TestFailure {
// ignore: deprecated_member_use_from_same_package
Expand Down

0 comments on commit a0b8d21

Please sign in to comment.