Unverified Commit c09736bb authored by Yegor's avatar Yegor Committed by GitHub

flutter_view_ios__start_up: move all test logic into TaskFunction (#14088)

parent ce939564
......@@ -12,11 +12,15 @@ import 'package:flutter_devicelab/framework/framework.dart';
Future<Null> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
final Directory iosDirectory = dir(
'${flutterDirectory.path}/examples/flutter_view/ios',
);
await inDirectory(iosDirectory, () async {
await exec('pod', <String>['install']);
await task(() async {
final Directory iosDirectory = dir(
'${flutterDirectory.path}/examples/flutter_view/ios',
);
await inDirectory(iosDirectory, () async {
await exec('pod', <String>['install']);
});
final TaskFunction taskFunction = createFlutterViewStartupTest();
return await taskFunction();
});
await task(createFlutterViewStartupTest());
}
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