test: fixed test for alien at pinball

pull/166/head
RuiAlonso 4 years ago
parent d2c25602dc
commit f84628fed2

@ -69,8 +69,7 @@ void main() {
await game.ready();
await game.ensureAdd(alienZone);
final flutterForest = alienZone.descendants().whereType<AlienZone>();
expect(flutterForest.length, equals(1));
expect(game.children.whereType<AlienZone>().length, equals(1));
},
);

Loading…
Cancel
Save