Bump mockito to 3.0.0-beta (#18462)
* Bump mockito to 3.0.0-beta * Few fixes * fix test * Bump image * Fix * New packages update * With matcher pinned * No more typed
This commit is contained in:
committed by
Alexander Aprelev
parent
bec912165a
commit
9f8a70be4c
@@ -61,7 +61,7 @@ void main() {
|
||||
|
||||
expect(
|
||||
verify(usage.sendTiming(
|
||||
typed(captureAny), typed(captureAny), typed(captureAny),
|
||||
captureAny, captureAny, captureAny,
|
||||
label: captureAnyNamed('label'))).captured,
|
||||
<dynamic>['flutter', 'dummy', const Duration(milliseconds: 1000), null]
|
||||
);
|
||||
@@ -80,8 +80,8 @@ void main() {
|
||||
await flutterCommand.run();
|
||||
verify(clock.now()).called(2);
|
||||
verifyNever(usage.sendTiming(
|
||||
typed(captureAny), typed(captureAny), typed(captureAny),
|
||||
label: captureAnyNamed('label')));
|
||||
any, any, any,
|
||||
label: anyNamed('label')));
|
||||
},
|
||||
overrides: <Type, Generator>{
|
||||
Clock: () => clock,
|
||||
@@ -106,7 +106,7 @@ void main() {
|
||||
verify(clock.now()).called(2);
|
||||
expect(
|
||||
verify(usage.sendTiming(
|
||||
typed(captureAny), typed(captureAny), typed(captureAny),
|
||||
captureAny, captureAny, captureAny,
|
||||
label: captureAnyNamed('label'))).captured,
|
||||
<dynamic>[
|
||||
'flutter',
|
||||
@@ -137,7 +137,7 @@ void main() {
|
||||
|
||||
expect(
|
||||
verify(usage.sendTiming(
|
||||
typed(captureAny), typed(captureAny), typed(captureAny),
|
||||
captureAny, captureAny, captureAny,
|
||||
label: captureAnyNamed('label'))).captured,
|
||||
<dynamic>[
|
||||
'flutter',
|
||||
|
||||
Reference in New Issue
Block a user