Skip to content

Commit 7a573db

Browse files
gnpricechrisbobbe
authored andcommitted
api test [nfc]: Specify return type of matchesReactions helper
1 parent 4641a1f commit 7a573db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/api/model/reaction_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'model_checks.dart';
77
void main() {
88
group('Reactions', () {
99
// helper to cut out "it()..isA<ReactionWithVotes>()" goo for callers
10-
matchesReactions(List<Reaction> reactions) {
10+
Condition<Object?> matchesReactions(List<Reaction> reactions) {
1111
return (Subject<Object?> it) => it.isA<ReactionWithVotes>().matchesReactions(reactions);
1212
}
1313

0 commit comments

Comments
 (0)