From b743330ba3fcfcc561127797b66150d61e605a41 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 16 Mar 2022 14:57:16 +0000 Subject: [PATCH] refactor: removed old test --- test/game/components/initial_position_test.dart | 8 -------- 1 file changed, 8 deletions(-) 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 {