Chromium Code Reviews| Index: lib/src/runner/load_suite.dart |
| diff --git a/lib/src/runner/load_suite.dart b/lib/src/runner/load_suite.dart |
| index 7034de442cd9a75bf16f3fa7720d17652c5310fc..f383fc0a0aa68465f726791f7196b728b8b37209 100644 |
| --- a/lib/src/runner/load_suite.dart |
| +++ b/lib/src/runner/load_suite.dart |
| @@ -66,7 +66,7 @@ class LoadSuite extends Suite implements RunnerSuite { |
| /// |
| /// If the the load test is closed before [body] is complete, it will close |
| /// the suite returned by [body] once it completes. |
| - factory LoadSuite(String name, SuiteConfiguration config, body(), |
| + factory LoadSuite(String name, SuiteConfiguration config, FutureOr<RunnerSuite> body(), |
|
nweiz
2017/03/10 21:24:34
Long line.
keertip
2017/03/10 21:30:37
Done.
|
| {String path, TestPlatform platform}) { |
| var completer = new Completer<Pair<RunnerSuite, Zone>>.sync(); |
| return new LoadSuite._(name, config, () { |