From 5d3428f7ba4ce98e37a58aefd5d6db8d47b46158 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 2 Mar 2022 14:14:43 +0000 Subject: [PATCH] refactor: added trailing commas --- test/game/bloc/game_event_test.dart | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/test/game/bloc/game_event_test.dart b/test/game/bloc/game_event_test.dart index 1348f0c6..e839ab56 100644 --- a/test/game/bloc/game_event_test.dart +++ b/test/game/bloc/game_event_test.dart @@ -11,7 +11,10 @@ void main() { }); test('supports value equality', () { - expect(BallLost(), equals(const BallLost())); + expect( + BallLost(), + equals(const BallLost()), + ); }); }); @@ -21,8 +24,14 @@ void main() { }); test('supports value equality', () { - expect(Scored(points: 1), equals(const Scored(points: 1))); - expect(const Scored(points: 1), isNot(equals(const Scored(points: 2)))); + expect( + Scored(points: 1), + equals(const Scored(points: 1)), + ); + expect( + const Scored(points: 1), + isNot(equals(const Scored(points: 2))), + ); }); test(