From 1cfc555a236bcf9d70a991e3cb5516ff4493808d Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Thu, 27 Jul 2023 21:48:42 -0500 Subject: [PATCH] chore(mocktail): minor adjustment to code style --- packages/mocktail/lib/src/mocktail.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/mocktail/lib/src/mocktail.dart b/packages/mocktail/lib/src/mocktail.dart index 75b4229..7a10831 100644 --- a/packages/mocktail/lib/src/mocktail.dart +++ b/packages/mocktail/lib/src/mocktail.dart @@ -21,9 +21,7 @@ var _verificationInProgress = false; _ReturnsCannedResponse _defaultResponse = _voidResponse; -Expectation _voidResponse() { - return Expectation.allInvocations((_) {}); -} +Expectation _voidResponse() => Expectation.allInvocations((_) {}); Expectation _exceptionResponse( void Function(Invocation)? exceptionBuilder,