Skip to content

Commit

Permalink
fix: add const in test
Browse files Browse the repository at this point in the history
  • Loading branch information
renefloor committed Mar 4, 2025
1 parent db5594c commit 6578c92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void main() {
banned: math.Random().nextBool(),
shadowBanned: math.Random().nextBool(),
isModerator: math.Random().nextBool(),
extraData: {'test_extra_data': 'testData'},
extraData: const {'test_extra_data': 'testData'},
);
final entity = member.toEntity(cid: cid);
expect(entity, isA<MemberEntity>());
Expand Down

0 comments on commit 6578c92

Please sign in to comment.