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

Unified Diff: pkg/testing/lib/src/chain.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 | « no previous file | pkg/testing/lib/src/expectation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/chain.dart
diff --git a/pkg/testing/lib/src/chain.dart b/pkg/testing/lib/src/chain.dart
index 022db73b84662e1eb2e45bab0708e76c15fa0e2b..70fe9bd32ccf798345ad126993f96f15833d4a61 100644
--- a/pkg/testing/lib/src/chain.dart
+++ b/pkg/testing/lib/src/chain.dart
@@ -181,7 +181,8 @@ abstract class ChainContext {
} else {
future = new Future.value(null);
}
- future = future.then((Result currentResult) {
+ future = future.then((_currentResult) {
+ Result currentResult = _currentResult;
if (currentResult != null) {
logStepComplete(completed, unexpectedResults.length,
descriptions.length, suite, description, lastStepRun);
« no previous file with comments | « no previous file | pkg/testing/lib/src/expectation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698