diff --git a/test/inline_assets_test.dart b/test/inline_assets_test.dart index 99aa2a21..daba8bf2 100644 --- a/test/inline_assets_test.dart +++ b/test/inline_assets_test.dart @@ -31,7 +31,10 @@ void main() { }); } -void Function() inlineAssetsTests(void Function(Angel, Directory) f) { +/// Typedef for backwards-compatibility with Dart 1. +typedef void InlineAssetTest(Angel app, Directory dir); + +void Function() inlineAssetsTests(InlineAssetTest f) { return () { TestClient client;