Always flush files when setting up the test directory. (#122856)
Always flush files when setting up the test directory.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user