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

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

Issue 10850015: Changed default Uri constructor to Uri.fromComponents(), new default constructor is Uri.fromString(… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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 | « dart/tests/compiler/dart2js/source_mapping_test.dart ('k') | dart/tests/utils/dummy_compiler_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/unparser_test.dart
diff --git a/dart/tests/compiler/dart2js/unparser_test.dart b/dart/tests/compiler/dart2js/unparser_test.dart
index 2b2861669aa04ea1d2f1080e367958ad4f3f1c1a..4b0b3a8a3a27d5e0631147ddb47b99c32cd25d67 100644
--- a/dart/tests/compiler/dart2js/unparser_test.dart
+++ b/dart/tests/compiler/dart2js/unparser_test.dart
@@ -49,7 +49,7 @@ testDart2Dart(String src, [void continuation(String s)]) {
*/
testDart2DartWithLibrary(
String srcMain, String srcLibrary, [void continuation(String s)]) {
- fileUri(path) => new Uri(scheme: 'file', path: path);
+ fileUri(path) => new Uri.fromComponents(scheme: 'file', path: path);
final scriptUri = fileUri('script.dart');
final libUri = fileUri('mylib.dart');
« no previous file with comments | « dart/tests/compiler/dart2js/source_mapping_test.dart ('k') | dart/tests/utils/dummy_compiler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698