Apply suggestions from code review

Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
pull/44/head^2
Erick 4 years ago committed by GitHub
parent 22910c7c26
commit b22705aaf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ void main() {
group('listenWhen', () { group('listenWhen', () {
test( test(
'returns true when there is a new bonus word awarded', 'returns true when there is a new word bonus awarded',
() { () {
final previousState = MockGameState(); final previousState = MockGameState();
when(() => previousState.bonusHistory).thenReturn([]); when(() => previousState.bonusHistory).thenReturn([]);
@ -48,7 +48,7 @@ void main() {
); );
test( test(
'returns false when there is no new bonus word awarded', 'returns false when there is no new word bonus awarded',
() { () {
final previousState = MockGameState(); final previousState = MockGameState();
when(() => previousState.bonusHistory).thenReturn([GameBonus.word]); when(() => previousState.bonusHistory).thenReturn([GameBonus.word]);

Loading…
Cancel
Save