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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 10917053: Show nicer errors on some server failures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unnecessary check. Created 8 years, 3 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 | « utils/tests/pub/pub_update_hosted_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 6fbee3042af1a98159cd708834f84d8c76837ba9..72cbcc0ffac0fc4ebc17a0280c60f558e4197718 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -549,7 +549,7 @@ Future _runScheduled(Directory parentDir, List<_ScheduledEvent> scheduled) {
if (scheduled == null) return new Future.immediate(null);
var iterator = scheduled.iterator();
- Future runNextEvent([_]) {
+ Future runNextEvent(_) {
if (_abortScheduled || !iterator.hasNext()) {
_abortScheduled = false;
scheduled.clear();
@@ -560,11 +560,11 @@ Future _runScheduled(Directory parentDir, List<_ScheduledEvent> scheduled) {
if (future != null) {
return future.chain(runNextEvent);
} else {
- return runNextEvent();
+ return runNextEvent(null);
}
}
- return runNextEvent();
+ return runNextEvent(null);
}
/**
« no previous file with comments | « utils/tests/pub/pub_update_hosted_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698