From 1b625b1566affbf665635ab4650ce9807d89f26a Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Sat, 7 May 2022 17:04:20 -0500 Subject: [PATCH] fixing words --- .../pinball_components/lib/src/components/joint_anchor.dart | 2 +- .../pinball_flame/test/src/component_controller_test.dart | 4 ++-- test/game/components/game_bloc_status_listener_test.dart | 4 ++-- test/select_character/cubit/character_theme_cubit_test.dart | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/pinball_components/lib/src/components/joint_anchor.dart b/packages/pinball_components/lib/src/components/joint_anchor.dart index 63875d40..ceba41e3 100644 --- a/packages/pinball_components/lib/src/components/joint_anchor.dart +++ b/packages/pinball_components/lib/src/components/joint_anchor.dart @@ -12,7 +12,7 @@ import 'package:pinball_components/pinball_components.dart'; /// initialize( /// dynamicBody.body, /// anchor.body, -/// dynabmicBody.body + anchor.body.position, +/// dynamicBody.body + anchor.body.position, /// ); /// ``` /// {@endtemplate} diff --git a/packages/pinball_flame/test/src/component_controller_test.dart b/packages/pinball_flame/test/src/component_controller_test.dart index 0e08be92..addcf2b0 100644 --- a/packages/pinball_flame/test/src/component_controller_test.dart +++ b/packages/pinball_flame/test/src/component_controller_test.dart @@ -38,9 +38,9 @@ void main() { final component = Component(); final controller = TestComponentController(component); - final anotherComponet = Component(); + final anotherComponent = Component(); await expectLater( - () async => await anotherComponet.add(controller), + () async => await anotherComponent.add(controller), throwsAssertionError, ); }, diff --git a/test/game/components/game_bloc_status_listener_test.dart b/test/game/components/game_bloc_status_listener_test.dart index f2018fbd..3151e70b 100644 --- a/test/game/components/game_bloc_status_listener_test.dart +++ b/test/game/components/game_bloc_status_listener_test.dart @@ -162,7 +162,7 @@ void main() { ); flameTester.test( - 'removes FlipperKeyControllingBehavior from Fipper', + 'removes FlipperKeyControllingBehavior from Flipper', (game) async { final component = GameBlocStatusListener(); final repository = _MockLeaderboardRepository(); @@ -242,7 +242,7 @@ void main() { ); flameTester.test( - 'adds key controlling behavior to Fippers when the game is started', + 'adds key controlling behavior to Flippers when the game is started', (game) async { final component = GameBlocStatusListener(); final repository = _MockLeaderboardRepository(); diff --git a/test/select_character/cubit/character_theme_cubit_test.dart b/test/select_character/cubit/character_theme_cubit_test.dart index 967eb1e1..a9d03d75 100644 --- a/test/select_character/cubit/character_theme_cubit_test.dart +++ b/test/select_character/cubit/character_theme_cubit_test.dart @@ -14,7 +14,7 @@ void main() { }); blocTest( - 'charcterSelected emits selected character theme', + 'characterSelected emits selected character theme', build: CharacterThemeCubit.new, act: (bloc) => bloc.characterSelected(const SparkyTheme()), expect: () => [