diff --git a/test/game/bloc/start_game_bloc_test.dart b/test/game/bloc/start_game_bloc_test.dart index d3d30634..7b2aff56 100644 --- a/test/game/bloc/start_game_bloc_test.dart +++ b/test/game/bloc/start_game_bloc_test.dart @@ -27,7 +27,7 @@ void main() { build: () => StartGameBloc( game: pinballGame, ), - act: (bloc) => bloc.add(SelectCharacter()), + act: (bloc) => bloc.add(const SelectCharacter()), expect: () => [ const StartGameState( status: StartGameStatus.selectCharacter, @@ -40,7 +40,7 @@ void main() { build: () => StartGameBloc( game: pinballGame, ), - act: (bloc) => bloc.add(HowToPlay()), + act: (bloc) => bloc.add(const HowToPlay()), expect: () => [ const StartGameState( status: StartGameStatus.howToPlay, @@ -53,7 +53,7 @@ void main() { build: () => StartGameBloc( game: pinballGame, ), - act: (bloc) => bloc.add(Play()), + act: (bloc) => bloc.add(const Play()), expect: () => [ const StartGameState( status: StartGameStatus.play, diff --git a/test/game/bloc/start_game_event_test.dart b/test/game/bloc/start_game_event_test.dart index 00ddf741..ff98abf1 100644 --- a/test/game/bloc/start_game_event_test.dart +++ b/test/game/bloc/start_game_event_test.dart @@ -5,22 +5,22 @@ void main() { group('StartGameEvent', () { test('SelectCharacter supports value equality', () { expect( - SelectCharacter(), - equals(SelectCharacter()), + const SelectCharacter(), + equals(const SelectCharacter()), ); }); test('HowToPlay supports value equality', () { expect( - HowToPlay(), - equals(HowToPlay()), + const HowToPlay(), + equals(const HowToPlay()), ); }); test('Play supports value equality', () { expect( - Play(), - equals(Play()), + const Play(), + equals(const Play()), ); }); });