From 33120a67432cac607022a6bf49dc5e8e61bde699 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 2 Mar 2022 09:00:52 +0000 Subject: [PATCH] refactor: moved linter ignore comment --- test/game/bloc/game_event_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/game/bloc/game_event_test.dart b/test/game/bloc/game_event_test.dart index b5257da9..1348f0c6 100644 --- a/test/game/bloc/game_event_test.dart +++ b/test/game/bloc/game_event_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: prefer_const_constructors + import 'package:flutter_test/flutter_test.dart'; import 'package:pinball/game/game.dart'; @@ -9,7 +11,6 @@ void main() { }); test('supports value equality', () { - // ignore: prefer_const_constructors expect(BallLost(), equals(const BallLost())); }); }); @@ -20,7 +21,7 @@ void main() { }); test('supports value equality', () { - expect(const Scored(points: 1), equals(const Scored(points: 1))); + expect(Scored(points: 1), equals(const Scored(points: 1))); expect(const Scored(points: 1), isNot(equals(const Scored(points: 2)))); });