diff --git a/test/character_themes/cubit/theme_cubit_test.dart b/test/character_themes/cubit/theme_cubit_test.dart index fda2b7cd..5dacba87 100644 --- a/test/character_themes/cubit/theme_cubit_test.dart +++ b/test/character_themes/cubit/theme_cubit_test.dart @@ -9,15 +9,13 @@ void main() { expect(themeCubit.state.theme, equals(const DashTheme())); }); - group('themeSelected', () { - blocTest( - 'emits selected theme', - build: ThemeCubit.new, - act: (bloc) => bloc.themeSelected(const SparkyTheme()), - expect: () => [ - const ThemeState(SparkyTheme()), - ], - ); - }); + blocTest( + 'themeSelected emits selected theme', + build: ThemeCubit.new, + act: (bloc) => bloc.themeSelected(const SparkyTheme()), + expect: () => [ + const ThemeState(SparkyTheme()), + ], + ); }); }