Test service extensions (#7849)

...and fix bugs that the tests uncovered.

WRITE TEST FIND BUG
This commit is contained in:
Ian Hickson
2017-02-03 13:55:07 -08:00
committed by Adam Barth
parent cce70d7069
commit be7be2b8b6
12 changed files with 425 additions and 27 deletions

View File

@@ -46,7 +46,7 @@ class TestAssetBundle extends AssetBundle {
}
@override
Future<dynamic> loadStructuredData<T>(String key, Future<T> parser(String value)) async {
Future<T> loadStructuredData<T>(String key, Future<T> parser(String value)) async {
return parser(await loadString(key));
}