diff --git a/test/game/components/path_test.dart b/test/game/components/path_test.dart index 440070b6..a97ba866 100644 --- a/test/game/components/path_test.dart +++ b/test/game/components/path_test.dart @@ -1,8 +1,4 @@ // ignore_for_file: cascade_invocations - -import 'dart:math'; -import 'dart:ui'; - import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter/material.dart'; @@ -133,7 +129,7 @@ void main() { await game.ensureAdd(path); expect(path.body.fixtures.length, 2); - for (var fixture in path.body.fixtures) { + for (final fixture in path.body.fixtures) { expect(fixture, isA()); expect(fixture.shape.shapeType, equals(ShapeType.chain)); }