Skip to content

Commit a88eb17

Browse files
Always flush files when setting up the test directory. (flutter#122856)
Always flush files when setting up the test directory.
1 parent 399cd6a commit a88eb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/test/integration.shard/test_utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void writeFile(String path, String content, {bool writeFutureModifiedDate = fals
4545
void writeBytesFile(String path, List<int> content) {
4646
fileSystem.file(path)
4747
..createSync(recursive: true)
48-
..writeAsBytesSync(content);
48+
..writeAsBytesSync(content, flush: true);
4949
}
5050

5151
void writePackages(String folder) {

0 commit comments

Comments
 (0)