From aecf1579cbe9f8835e2cc431f7b851dadef6dc5b Mon Sep 17 00:00:00 2001 From: alestiago Date: Fri, 18 Mar 2022 10:54:51 +0000 Subject: [PATCH] refactor: renamed group --- test/game/components/ball_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/game/components/ball_test.dart b/test/game/components/ball_test.dart index 64d41908..829ca875 100644 --- a/test/game/components/ball_test.dart +++ b/test/game/components/ball_test.dart @@ -72,7 +72,7 @@ void main() { ); }); - group('resetting a ball', () { + group('lost', () { late GameBloc gameBloc; setUp(() { @@ -128,7 +128,7 @@ void main() { ); await game.ready(); - game.children.whereType().first.removeFromParent(); + game.children.whereType().first.lost(); await tester.pump(); expect(