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 cfc692bb6e6e33c87521e5f8e07ec420ce2656a7..c6acccb688ccb5ad6cd641bc2f7da16cbf9bf7a4 100644 |
--- a/tests/standalone/io/http_auth_test.dart |
+++ b/tests/standalone/io/http_auth_test.dart |
@@ -168,7 +168,7 @@ void testBasicAuthenticateCallback() { |
String password = url.path.substring(1, 6); |
if (passwordChanged) password = "${password}1"; |
Completer completer = new Completer(); |
- new Timer(10, (_) { |
+ new Timer(const Duration(milliseconds: 10), () { |
client.addCredentials( |
url, realm, new HttpClientBasicCredentials(username, password)); |
completer.complete(true); |