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

Unified Diff: tests/utils/dummy_compiler_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: Add missing files 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/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index ae44c2791a88b3a2943d416baf229bfbc18fae44..e490eb0b4f6779ed23ca003acbb14641435e21e3 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -6,7 +6,6 @@
library dummy_compiler;
import 'dart:async';
-import 'dart:uri';
import '../../sdk/lib/_internal/compiler/compiler.dart';
@@ -93,9 +92,9 @@ void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
main() {
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: '/'),
provider, handler);
result.then((String code) {
if (code == null) {

Powered by Google App Engine
This is Rietveld 408576698