Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: tests/compiler/dart2js/uri_extras_test.dart

Issue 12052038: Rename new Uri.fromString to Uri.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload because of Error. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/uri/uri.dart ('k') | tests/standalone/io/http_auth_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « sdk/lib/uri/uri.dart ('k') | tests/standalone/io/http_auth_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698