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

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

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 7 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
Index: tests/compiler/dart2js/metadata_test.dart
diff --git a/tests/compiler/dart2js/metadata_test.dart b/tests/compiler/dart2js/metadata_test.dart
index c40d9a74f337b1bc523357167ee058e6beb81699..0e3b20bc27a56b4de110fbc3671fb841dda34f28 100644
--- a/tests/compiler/dart2js/metadata_test.dart
+++ b/tests/compiler/dart2js/metadata_test.dart
@@ -143,15 +143,15 @@ void testLibraryTags() {
void compileAndCheckLibrary(
String source,
Link<MetadataAnnotation> extractMetadata(LibraryElement element)) {
- Uri partUri = new Uri.fromComponents(scheme: 'source', path: 'part.dart');
+ Uri partUri = new Uri(scheme: 'source', path: 'part.dart');
String partSource = '@native part of foo;';
- Uri libUri = new Uri.fromComponents(scheme: 'source', path: 'lib.dart');
+ Uri libUri = new Uri(scheme: 'source', path: 'lib.dart');
String libSource = 'library lib;';
- Uri uri = new Uri.fromComponents(scheme: 'source', path: 'main.dart');
+ Uri uri = new Uri(scheme: 'source', path: 'main.dart');
- Uri async = new Uri.fromComponents(scheme: 'dart', path: 'async');
+ Uri async = new Uri(scheme: 'dart', path: 'async');
var compiler = compilerFor(source, uri)
..registerSource(partUri, partSource)
« no previous file with comments | « tests/compiler/dart2js/memory_source_file_helper.dart ('k') | tests/compiler/dart2js/mirrors_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698