diff --git a/lib/game/view/widgets/replay_button_overlay.dart b/lib/game/view/widgets/replay_button_overlay.dart index 4f40ca27..c0b2a67d 100644 --- a/lib/game/view/widgets/replay_button_overlay.dart +++ b/lib/game/view/widgets/replay_button_overlay.dart @@ -5,7 +5,7 @@ import 'package:pinball/start_game/start_game.dart'; import 'package:pinball_ui/pinball_ui.dart'; /// {@template replay_button_overlay} -/// [Widget] that renders the button responsible to restart the game +/// [Widget] that renders the button responsible for restarting the game. /// {@endtemplate} class ReplayButtonOverlay extends StatelessWidget { /// {@macro replay_button_overlay} diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 6cae5148..86c96ba7 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -142,11 +142,11 @@ }, "share": "SHARE", "@share": { - "description": "Text for share link at info screen." + "description": "Text for share link on info screen." }, "gotoIO": "GO TO I/O", "@gotoIO": { - "description": "Text for going to I/O site link at info screen." + "description": "Text for going to I/O site link on info screen." }, "learnMore": "Learn more about building games in Flutter with", "@learnMore": { diff --git a/test/game/components/backbox/backbox_test.dart b/test/game/components/backbox/backbox_test.dart index 79069110..6bc36292 100644 --- a/test/game/components/backbox/backbox_test.dart +++ b/test/game/components/backbox/backbox_test.dart @@ -239,7 +239,7 @@ void main() { ); flameTester.test( - 'calls ScoreShareRequested when share on InfoDisplay', + 'adds ScoreShareRequested when share is tapped on InfoDisplay', (game) async { final state = InitialsSuccessState( score: 100, diff --git a/test/game/components/backbox/bloc/backbox_bloc_test.dart b/test/game/components/backbox/bloc/backbox_bloc_test.dart index 13fc1ed0..a9f0a871 100644 --- a/test/game/components/backbox/bloc/backbox_bloc_test.dart +++ b/test/game/components/backbox/bloc/backbox_bloc_test.dart @@ -94,7 +94,7 @@ void main() { }); blocTest( - 'adds ShareState on ScoreShareRequested', + 'emits ShareState on ScoreShareRequested', setUp: () { leaderboardRepository = _MockLeaderboardRepository(); },