Index: tests/standalone/io/http_auth_test.dart |
diff --git a/tests/standalone/io/http_auth_test.dart b/tests/standalone/io/http_auth_test.dart |
index bd5e2c0d7e1c5c61052d6268406b1c93f43315d1..ef400f44f4b03e0ae571d06e30355b755d477eac 100644 |
--- a/tests/standalone/io/http_auth_test.dart |
+++ b/tests/standalone/io/http_auth_test.dart |
@@ -220,7 +220,7 @@ void testLocalServerBasic() { |
Uri.parse("http://127.0.0.1/basic"), |
"test", |
new HttpClientBasicCredentials("test", "test")); |
- return new Future.immediate(true); |
+ return new Future.value(true); |
}; |
HttpClientConnection conn = |
@@ -243,7 +243,7 @@ void testLocalServerDigest() { |
Uri.parse("http://127.0.0.1/digest"), |
"test", |
new HttpClientDigestCredentials("test", "test")); |
- return new Future.immediate(true); |
+ return new Future.value(true); |
}; |
HttpClientConnection conn = |