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

Unified Diff: tests/compiler/dart2js/analyze_only_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
« no previous file with comments | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tests/compiler/dart2js/backend_htype_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_only_test.dart
diff --git a/tests/compiler/dart2js/analyze_only_test.dart b/tests/compiler/dart2js/analyze_only_test.dart
index c890e852c40f03ff45421d9257022304e776e1a5..34e52c7b3965c980a0e41b68d4012cc128733726 100644
--- a/tests/compiler/dart2js/analyze_only_test.dart
+++ b/tests/compiler/dart2js/analyze_only_test.dart
@@ -7,7 +7,6 @@ library analyze_only;
import "package:expect/expect.dart";
import 'dart:async';
-import 'dart:uri';
import '../../utils/dummy_compiler_test.dart' as dummy;
import '../../../sdk/lib/_internal/compiler/compiler.dart';
@@ -36,9 +35,9 @@ runCompiler(String main, List<String> options,
print('main source:\n$main');
print('options: $options\n');
Future<String> result =
- compile(new Uri.fromComponents(scheme: 'main'),
- new Uri.fromComponents(scheme: 'lib', path: '/'),
- new Uri.fromComponents(scheme: 'package', path: '/'),
+ compile(new Uri(scheme: 'main'),
+ new Uri(scheme: 'lib', path: '/'),
+ new Uri(scheme: 'package', path: '/'),
localProvider, localHandler, options);
result.then((String code) {
onValue(code, errors, warnings);
« no previous file with comments | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tests/compiler/dart2js/backend_htype_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698