Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: pkg/testing/lib/src/zone_helper.dart

Issue 3010803002: Eliminate uses of fuzzy arrows in pkg/testing (fix bots). (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/testing/lib/src/expectation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/zone_helper.dart
diff --git a/pkg/testing/lib/src/zone_helper.dart b/pkg/testing/lib/src/zone_helper.dart
index e679e63b1f53f171a694e400cb874d128989a595..5359c2ef4fca899205fd1a3fd14e1f4856c983ad 100644
--- a/pkg/testing/lib/src/zone_helper.dart
+++ b/pkg/testing/lib/src/zone_helper.dart
@@ -48,7 +48,8 @@ Future runGuarded(Future f(),
ZoneSpecification specification = new ZoneSpecification(print: printWrapper);
ReceivePort errorPort = new ReceivePort();
- Future errorFuture = errorPort.listen((List errors) {
+ Future errorFuture = errorPort.listen((_errors) {
+ List errors = _errors;
Isolate.current.removeErrorListener(errorPort.sendPort);
errorPort.close();
var error = errors[0];
« no previous file with comments | « pkg/testing/lib/src/expectation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698