From 7936d11f39005b253fdd2159927386edf305d81e Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 2 Mar 2022 09:03:09 +0000 Subject: [PATCH] refactor: removed const from equality comparison --- test/game/bloc/game_state_test.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/game/bloc/game_state_test.dart b/test/game/bloc/game_state_test.dart index 0832ecd3..f62bae67 100644 --- a/test/game/bloc/game_state_test.dart +++ b/test/game/bloc/game_state_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'; @@ -5,7 +7,7 @@ void main() { group('GameState', () { test('supports value equality', () { expect( - const GameState(score: 0, balls: 0), + GameState(score: 0, balls: 0), equals(const GameState(score: 0, balls: 0)), ); });