Chromium Code Reviews

Unified Diff: lib/src/runner/load_suite.dart

Issue 2740003005: Add type info to fix analyzer failures for 1.23.0-dev.5.0 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | lib/src/runner/loader.dart » ('j') | lib/src/runner/loader.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, () {
« no previous file with comments | « no previous file | lib/src/runner/loader.dart » ('j') | lib/src/runner/loader.dart » ('J')

Powered by Google App Engine