| Index: tests/compiler/dart2js/uri_extras_test.dart
|
| diff --git a/tests/compiler/dart2js/uri_extras_test.dart b/tests/compiler/dart2js/uri_extras_test.dart
|
| index 199076ade67c1f82bf7d0b8e8b8f63fb26586203..ed20990f8533eb06740276b2cf23d8dd0511aeac 100644
|
| --- a/tests/compiler/dart2js/uri_extras_test.dart
|
| +++ b/tests/compiler/dart2js/uri_extras_test.dart
|
| @@ -16,23 +16,23 @@ void testRelativize() {
|
| }
|
| String r;
|
|
|
| - r = relativize(new Uri.fromString('file:$base'),
|
| - new Uri.fromString('file:$path'),
|
| + r = relativize(Uri.parse('file:$base'),
|
| + Uri.parse('file:$path'),
|
| isWindows);
|
| Expect.stringEquals(expected, r);
|
|
|
| - r = relativize(new Uri.fromString('FILE:$base'),
|
| - new Uri.fromString('FILE:$path'),
|
| + r = relativize(Uri.parse('FILE:$base'),
|
| + Uri.parse('FILE:$path'),
|
| isWindows);
|
| Expect.stringEquals(expected, r);
|
|
|
| - r = relativize(new Uri.fromString('file:$base'),
|
| - new Uri.fromString('FILE:$path'),
|
| + r = relativize(Uri.parse('file:$base'),
|
| + Uri.parse('FILE:$path'),
|
| isWindows);
|
| Expect.stringEquals(expected, r);
|
|
|
| - r = relativize(new Uri.fromString('FILE:$base'),
|
| - new Uri.fromString('file:$path'),
|
| + r = relativize(Uri.parse('FILE:$base'),
|
| + Uri.parse('file:$path'),
|
| isWindows);
|
| Expect.stringEquals(expected, r);
|
| }
|
|
|