Attempt to fix devfs test (#9007)

This commit is contained in:
John McCutchan 2017-03-24 12:32:45 -07:00 committed by GitHub
parent 71690343fb
commit 51ea62c143

View File

@ -108,6 +108,7 @@ void main() {
expect(bytes, 7);
});
testUsingContext('modify existing file on local file system', () async {
await devFS.update();
final File file = fs.file(fs.path.join(basePath, filePath));
// Set the last modified time to 5 seconds in the past.
updateFileModificationTime(file.path, new DateTime.now(), -5);