Unverified Commit 836efaec authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] stop unit test from writing real file (#70511)

parent 87746c76
...@@ -57,7 +57,7 @@ void main() { ...@@ -57,7 +57,7 @@ void main() {
Cache.flutterRoot = '../..'; Cache.flutterRoot = '../..';
when(sdk.licensesAvailable).thenReturn(true); when(sdk.licensesAvailable).thenReturn(true);
final FlutterProject project = FlutterProject.current(); final FlutterProject project = FlutterProject.current();
globals.fs.file(project.android.hostAppGradleRoot.childFile( fs.file(project.android.hostAppGradleRoot.childFile(
globals.platform.isWindows ? 'gradlew.bat' : 'gradlew', globals.platform.isWindows ? 'gradlew.bat' : 'gradlew',
).path).createSync(recursive: true); ).path).createSync(recursive: true);
}); });
......
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