| Index: tests/corelib/uri_http_test.dart
|
| diff --git a/tests/corelib/uri_http_test.dart b/tests/corelib/uri_http_test.dart
|
| index 354e0529f01526da1a6feb00261de4ebf6e9960d..95614f7913b3e29afb4d0cd229bd050a4c0ada93 100644
|
| --- a/tests/corelib/uri_http_test.dart
|
| +++ b/tests/corelib/uri_http_test.dart
|
| @@ -31,6 +31,8 @@ testHttpUri() {
|
| check(new Uri.http("host", "/a/b", { "c": "d" }), "http://host/a/b?c=d");
|
| check(new Uri.http("host",
|
| "/a/b", { "c=": "&d" }), "http://host/a/b?c%3D=%26d");
|
| + check(new Uri.http("[::]", "a"), "http://[::]/a");
|
| + check(new Uri.http("[::127.0.0.1]", "a"), "http://[::127.0.0.1]/a");
|
| }
|
|
|
| testHttpsUri() {
|
| @@ -60,6 +62,8 @@ testHttpsUri() {
|
| check(new Uri.https("host", "/a/b", { "c": "d" }), "https://host/a/b?c=d");
|
| check(new Uri.https("host",
|
| "/a/b", { "c=": "&d" }), "https://host/a/b?c%3D=%26d");
|
| + check(new Uri.https("[::]", "a"), "https://[::]/a");
|
| + check(new Uri.https("[::127.0.0.1]", "a"), "https://[::127.0.0.1]/a");
|
| }
|
|
|
| main() {
|
|
|