diff --git a/test/game/components/initial_position_test.dart b/test/game/components/initial_position_test.dart index 1f5e0de7..814b1e86 100644 --- a/test/game/components/initial_position_test.dart +++ b/test/game/components/initial_position_test.dart @@ -20,14 +20,6 @@ void main() { expect(component.initialPosition, Vector2(1, 2)); }); - test('can only be set once', () { - final component = TestBodyComponent()..initialPosition = Vector2(1, 2); - expect( - () => component.initialPosition = Vector2(3, 4), - throwsA(isA()), - ); - }); - flameTester.test( 'positions correctly', (game) async {