From 22c3c89546e5884bcf84059a39dd1e77726a5bd7 Mon Sep 17 00:00:00 2001 From: alestiago Date: Fri, 11 Mar 2022 14:43:02 +0000 Subject: [PATCH] refactor: renamed test --- test/game/pinball_game_test.dart | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/test/game/pinball_game_test.dart b/test/game/pinball_game_test.dart index 6f3646e9..969a8704 100644 --- a/test/game/pinball_game_test.dart +++ b/test/game/pinball_game_test.dart @@ -18,21 +18,19 @@ void main() { () { bool Function(Component) componentSelector() => (component) => component is T; - - group('FlipperGroup', () { - flameTester.test( - 'has only one right Flipper', - (game) async { - await game.ready(); - expect( - () => game.children.singleWhere( - componentSelector(), - ), - returnsNormally, - ); - }, - ); - }); + + flameTester.test( + 'has only one FlipperGroup', + (game) async { + await game.ready(); + expect( + () => game.children.singleWhere( + componentSelector(), + ), + returnsNormally, + ); + }, + ); }, ); });