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

Unified Diff: tests/standalone/io/http_proxy_test.dart

Issue 14070010: Refactor Future constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added co19 issue number. Created 7 years, 8 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 | « tests/standalone/io/http_auth_test.dart ('k') | tests/standalone/io/io_sink_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_proxy_test.dart
diff --git a/tests/standalone/io/http_proxy_test.dart b/tests/standalone/io/http_proxy_test.dart
index ab80d87f8f60d102ddcdf37672414b7093f53885..e3dc5baab2af628deff3c7e128a367a5e5ff51f5 100644
--- a/tests/standalone/io/http_proxy_test.dart
+++ b/tests/standalone/io/http_proxy_test.dart
@@ -494,7 +494,7 @@ void testProxyAuthenticate() {
proxyServer.port,
"realm",
new HttpClientBasicCredentials("test", "test"));
- return new Future.immediate(true);
+ return new Future.value(true);
};
for (int i = 0; i < loopCount; i++) {
« no previous file with comments | « tests/standalone/io/http_auth_test.dart ('k') | tests/standalone/io/io_sink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698