From 8f3fc4b248ed3a98c55b9005acd8442873d0ebfb Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Thu, 3 Mar 2022 15:31:24 -0600 Subject: [PATCH] test: remove grouping --- .../cubit/theme_cubit_test.dart | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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()), + ], + ); }); }