refactor: renamed test

pull/32/head^2
alestiago 4 years ago
parent 096042f6d7
commit 22c3c89546

@ -19,20 +19,18 @@ void main() {
bool Function(Component) componentSelector<T>() => bool Function(Component) componentSelector<T>() =>
(component) => component is T; (component) => component is T;
group('FlipperGroup', () { flameTester.test(
flameTester.test( 'has only one FlipperGroup',
'has only one right Flipper', (game) async {
(game) async { await game.ready();
await game.ready(); expect(
expect( () => game.children.singleWhere(
() => game.children.singleWhere( componentSelector<FlipperGroup>(),
componentSelector<FlipperGroup>(), ),
), returnsNormally,
returnsNormally, );
); },
}, );
);
});
}, },
); );
}); });

Loading…
Cancel
Save