fixing words

pull/399/head
Tom Arra 3 years ago
parent 2f7aee5a7d
commit 1b625b1566

@ -12,7 +12,7 @@ import 'package:pinball_components/pinball_components.dart';
/// initialize( /// initialize(
/// dynamicBody.body, /// dynamicBody.body,
/// anchor.body, /// anchor.body,
/// dynabmicBody.body + anchor.body.position, /// dynamicBody.body + anchor.body.position,
/// ); /// );
/// ``` /// ```
/// {@endtemplate} /// {@endtemplate}

@ -38,9 +38,9 @@ void main() {
final component = Component(); final component = Component();
final controller = TestComponentController(component); final controller = TestComponentController(component);
final anotherComponet = Component(); final anotherComponent = Component();
await expectLater( await expectLater(
() async => await anotherComponet.add(controller), () async => await anotherComponent.add(controller),
throwsAssertionError, throwsAssertionError,
); );
}, },

@ -162,7 +162,7 @@ void main() {
); );
flameTester.test( flameTester.test(
'removes FlipperKeyControllingBehavior from Fipper', 'removes FlipperKeyControllingBehavior from Flipper',
(game) async { (game) async {
final component = GameBlocStatusListener(); final component = GameBlocStatusListener();
final repository = _MockLeaderboardRepository(); final repository = _MockLeaderboardRepository();
@ -242,7 +242,7 @@ void main() {
); );
flameTester.test( 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 { (game) async {
final component = GameBlocStatusListener(); final component = GameBlocStatusListener();
final repository = _MockLeaderboardRepository(); final repository = _MockLeaderboardRepository();

@ -14,7 +14,7 @@ void main() {
}); });
blocTest<CharacterThemeCubit, CharacterThemeState>( blocTest<CharacterThemeCubit, CharacterThemeState>(
'charcterSelected emits selected character theme', 'characterSelected emits selected character theme',
build: CharacterThemeCubit.new, build: CharacterThemeCubit.new,
act: (bloc) => bloc.characterSelected(const SparkyTheme()), act: (bloc) => bloc.characterSelected(const SparkyTheme()),
expect: () => [ expect: () => [

Loading…
Cancel
Save