refactor: removed old test

pull/50/head
alestiago 4 years ago
parent 0abd1827d5
commit b743330ba3

@ -20,14 +20,6 @@ void main() {
expect(component.initialPosition, Vector2(1, 2)); 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<Error>()),
);
});
flameTester.test( flameTester.test(
'positions correctly', 'positions correctly',
(game) async { (game) async {

Loading…
Cancel
Save