| Index: tests/html/location_test.dart
|
| diff --git a/tests/html/location_test.dart b/tests/html/location_test.dart
|
| index 36adf4d717c8e788bcb76f0428e4a0979183691e..d5c8e5e7c3ca3007387e293980b31f4b3fd8719a 100644
|
| --- a/tests/html/location_test.dart
|
| +++ b/tests/html/location_test.dart
|
| @@ -22,7 +22,7 @@ main() {
|
| var origin = window.location.origin;
|
|
|
| // We build up the origin from Uri, then make sure that it matches.
|
| - var uri = new Uri(window.location.href);
|
| + var uri = Uri.parse(window.location.href);
|
| var reconstructedOrigin = '${uri.scheme}://${uri.host}';
|
| if (uri.port != 0) {
|
| reconstructedOrigin = '$reconstructedOrigin:${uri.port}';
|
|
|