Fix missing return statements on function literals (#33058)

This commit is contained in:
Sam Rawlins
2019-05-20 12:51:57 -07:00
committed by Michael Goderbauer
parent 539ff20384
commit c2a93bd545
7 changed files with 8 additions and 4 deletions

View File

@@ -79,8 +79,9 @@ class Testbed {
}
await test();
Cache.flutterRoot = originalFlutterRoot;
return null;
}
);
});
}
}
}

View File

@@ -19,7 +19,7 @@ void main() {
setUp(() {
testbed = Testbed(
setup: () {
setup: () async {
fs.file('pubspec.yaml').createSync();
fs.file('.packages').createSync();
fs.file('test/foo.dart').createSync(recursive: true);