Unverified Commit a88eb172 authored by Jackson Gardner's avatar Jackson Gardner Committed by GitHub

Always flush files when setting up the test directory. (#122856)

Always flush files when setting up the test directory.
parent 399cd6a5
......@@ -45,7 +45,7 @@ void writeFile(String path, String content, {bool writeFutureModifiedDate = fals
void writeBytesFile(String path, List<int> content) {
fileSystem.file(path)
..createSync(recursive: true)
..writeAsBytesSync(content);
..writeAsBytesSync(content, flush: true);
}
void writePackages(String folder) {
......
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