File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ class WebServerDevice extends Device {
218218
219219 @override
220220 DeviceLogReader getLogReader ({ApplicationPackage app}) {
221- return _logReader ?? = NoOpDeviceLogReader (app.name);
221+ return _logReader ?? = NoOpDeviceLogReader (app? .name);
222222 }
223223
224224 @override
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ void main() {
5858 expect (device.supportsScreenshot, false );
5959 expect (await device.isLocalEmulator, false );
6060 expect (device.getLogReader (app: mockWebApplicationPackage), isInstanceOf <NoOpDeviceLogReader >());
61+ expect (device.getLogReader (), isInstanceOf <NoOpDeviceLogReader >());
6162 expect (await device.portForwarder.forward (1 ), 1 );
6263 });
6364
You can’t perform that action at this time.
0 commit comments