refactor: renamed test names

pull/381/head
alestiago 3 years ago
parent aeaa198a8a
commit e47c2d206b

@ -61,7 +61,7 @@ void main() {
void _contactedBumper(DashBumper bumper) => bumper.bloc.onBallContacted();
flameTester.testGameWidget(
'adds GameBonus.DashBumper to the game '
'adds GameBonus.dashNest to the game '
'when bumpers are activated three times',
setUp: (game, tester) async {
await game.onLoad();

@ -63,7 +63,7 @@ void main() {
group('listenWhen', () {
test(
'is true when the bonusHistory has changed '
'with a new GameBonus.DashBumper',
'with a new GameBonus.dashNest',
() {
final previous = GameState.initial();
final state = previous.copyWith(
@ -79,7 +79,7 @@ void main() {
test(
'is false when the bonusHistory has changed '
'with a bonus different than GameBonus.DashBumper', () {
'with a bonus different than GameBonus.dashNest', () {
final previous =
GameState.initial().copyWith(bonusHistory: [GameBonus.dashNest]);
final state = previous.copyWith(

Loading…
Cancel
Save