Unverified Commit 5e7f6690 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Remove mock from event_printer_test (#77757)

parent f91ed2a3
......@@ -6,7 +6,7 @@
import 'package:flutter_tools/src/test/event_printer.dart';
import 'package:flutter_tools/src/test/test_device.dart';
import 'package:mockito/mockito.dart';
import 'package:test/fake.dart';
import '../../src/common.dart';
......@@ -22,7 +22,7 @@ void main() {
});
testWithoutContext('handles a null parent', () {
final _Device device = _Device();
final FakeDevice device = FakeDevice();
expect(() => eventPrinter.handleFinishedTest(device), returnsNormally);
expect(() => eventPrinter.handleStartedDevice(observatoryUri), returnsNormally);
......@@ -56,4 +56,4 @@ void main() {
});
}
class _Device extends Mock implements TestDevice {}
class FakeDevice extends Fake implements TestDevice {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment