Unverified Commit fceaa005 authored by Daco Harkes's avatar Daco Harkes Committed by GitHub

[doc] Fix module_test_ios comments (#131470)

parent c05c3d39
......@@ -27,8 +27,8 @@ Future<void> main() async {
},
);
// this variable cannot be `late`, as we reference it in the `finally` block
// which may execute before this field has been initialized
// This variable cannot be `late`, as we reference it in the `finally` block
// which may execute before this field has been initialized.
String? simulatorDeviceId;
section('Create Flutter module project');
......@@ -51,7 +51,7 @@ Future<void> main() async {
final Directory flutterModuleLibSource = Directory(path.join(flutterDirectory.path, 'dev', 'integration_tests', 'ios_host_app', 'flutterapp', 'lib'));
final Directory flutterModuleLibDestination = Directory(path.join(projectDir.path, 'lib'));
// These test files don't have a .dart prefix so the analyzer will ignore them. They aren't in a
// These test files don't have a .dart extension so the analyzer will ignore them. They aren't in a
// package and don't work on their own outside of the test module just created.
final File main = File(path.join(flutterModuleLibSource.path, 'main'));
main.copySync(path.join(flutterModuleLibDestination.path, 'main.dart'));
......
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