mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-15 04:09:43 +08:00
Linting
This commit is contained in:
committed by
renancaraujo
parent
bde8656510
commit
c020383887
@@ -71,7 +71,8 @@ void main() {
|
||||
expect(true, game.components.contains(component));
|
||||
});
|
||||
|
||||
test('when the component has onLoad function, adds after load completion', () async {
|
||||
test('when the component has onLoad function, adds after load completion',
|
||||
() async {
|
||||
final MyGame game = MyGame();
|
||||
final MyAsyncComponent component = MyAsyncComponent();
|
||||
|
||||
|
||||
@@ -64,7 +64,9 @@ void main() {
|
||||
expect(true, wrapper.containsChild(child));
|
||||
});
|
||||
|
||||
test('when child is async loading, adds the child to the component after loading', () async {
|
||||
test(
|
||||
'when child is async loading, adds the child to the component after loading',
|
||||
() async {
|
||||
final MyAsyncChild child = MyAsyncChild();
|
||||
final MyComposed wrapper = MyComposed();
|
||||
await wrapper.addChild(child);
|
||||
|
||||
Reference in New Issue
Block a user