Index: tests/standalone/io/regress_6521_test.dart |
diff --git a/tests/standalone/io/regress_6521_test.dart b/tests/standalone/io/regress_6521_test.dart |
index 9d393b703d01c62e1c4a4e625d2100173e8af9d6..cd625ee498ee4c1b476f5a2a2c2c7686fba70560 100644 |
--- a/tests/standalone/io/regress_6521_test.dart |
+++ b/tests/standalone/io/regress_6521_test.dart |
@@ -22,7 +22,7 @@ void main() { |
var connection = client.openUrl( |
"POST", |
- new Uri.fromString("http://localhost:${server.port}/")); |
+ Uri.parse("http://localhost:${server.port}/")); |
connection.onRequest = (request) { |
// Keep a reference to the client request object. |
clientRequest = request; |