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

Unified Diff: dart/tests/utils/dummy_compiler_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/unparser_test.dart ('k') | dart/tests/utils/uri_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/utils/dummy_compiler_test.dart
diff --git a/dart/tests/utils/dummy_compiler_test.dart b/dart/tests/utils/dummy_compiler_test.dart
index e33a1fee6f2cc68f8f1dd7cd534b278b548f85ba..4d15a9715bdd3a15b9a5fc72aa6e2ba029453165 100644
--- a/dart/tests/utils/dummy_compiler_test.dart
+++ b/dart/tests/utils/dummy_compiler_test.dart
@@ -49,9 +49,9 @@ void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
}
main() {
- String code = compile(new Uri(scheme: 'main'),
- new Uri(scheme: 'lib'),
- new Uri(scheme: 'package'),
+ String code = compile(new Uri.fromComponents(scheme: 'main'),
+ new Uri.fromComponents(scheme: 'lib'),
+ new Uri.fromComponents(scheme: 'package'),
provider, handler).value;
if (code === null) {
throw 'Compilation failed';
« no previous file with comments | « dart/tests/compiler/dart2js/unparser_test.dart ('k') | dart/tests/utils/uri_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698