fix: test typo

pull/365/head
Allison Ryan 3 years ago
parent 51fffcfe53
commit 82e24a5f18

@ -7,14 +7,14 @@ void main() {
'SparkyComputerCubit', 'SparkyComputerCubit',
() { () {
blocTest<SparkyComputerCubit, SparkyComputerState>( blocTest<SparkyComputerCubit, SparkyComputerState>(
'onBallEntered emits dimmed', 'onBallEntered emits withBall',
build: SparkyComputerCubit.new, build: SparkyComputerCubit.new,
act: (bloc) => bloc.onBallEntered(), act: (bloc) => bloc.onBallEntered(),
expect: () => [SparkyComputerState.withBall], expect: () => [SparkyComputerState.withBall],
); );
blocTest<SparkyComputerCubit, SparkyComputerState>( blocTest<SparkyComputerCubit, SparkyComputerState>(
'onBallTurboCharged emits lit', 'onBallTurboCharged emits withoutBall',
build: SparkyComputerCubit.new, build: SparkyComputerCubit.new,
act: (bloc) => bloc.onBallTurboCharged(), act: (bloc) => bloc.onBallTurboCharged(),
expect: () => [SparkyComputerState.withoutBall], expect: () => [SparkyComputerState.withoutBall],

Loading…
Cancel
Save