diff --git a/test/flame/component_controller_test.dart b/test/flame/component_controller_test.dart index 422b30bf..a802a393 100644 --- a/test/flame/component_controller_test.dart +++ b/test/flame/component_controller_test.dart @@ -52,9 +52,9 @@ void main() { final component = ControlledComponent(); final controller = TestComponentController(component); - final anotherComponet = Component(); + final anotherComponent = Component(); await expectLater( - () async => controller.add(anotherComponet), + () async => controller.add(anotherComponent), throwsException, ); },