Skip to content

Commit

Permalink
chore(mocktail): minor adjustment to code style
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Jul 28, 2023
1 parent 6a555ea commit 1cfc555
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/mocktail/lib/src/mocktail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ var _verificationInProgress = false;

_ReturnsCannedResponse _defaultResponse = _voidResponse;

Expectation<void> _voidResponse() {
return Expectation<void>.allInvocations((_) {});
}
Expectation<void> _voidResponse() => Expectation<void>.allInvocations((_) {});

Expectation<dynamic> _exceptionResponse(
void Function(Invocation)? exceptionBuilder,
Expand Down

0 comments on commit 1cfc555

Please sign in to comment.