From c693e9a10910c0dc8151077406da3c1d2ce9ca07 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Mon, 7 Mar 2022 12:52:58 +0100 Subject: [PATCH] chore: analysis errors fixed on tests --- test/game/components/path_test.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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)); }