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

Unified Diff: tests/lib/mirrors/library_uri_io_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/lib/analyzer/analyze_tests.status ('k') | tests/lib/mirrors/library_uri_package_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/library_uri_io_test.dart
diff --git a/tests/lib/mirrors/library_uri_io_test.dart b/tests/lib/mirrors/library_uri_io_test.dart
index beddc4097575e9561799a06a4debb16839ac1a58..add283d7f5544c376b2d51a6adb35b1bf7cd950e 100644
--- a/tests/lib/mirrors/library_uri_io_test.dart
+++ b/tests/lib/mirrors/library_uri_io_test.dart
@@ -8,7 +8,6 @@ library MirrorsTest;
import 'dart:mirrors';
import 'dart:io';
-import 'dart:uri';
import '../../../pkg/unittest/lib/unittest.dart';
class Class {
@@ -25,7 +24,7 @@ main() {
var mirrors = currentMirrorSystem();
test("Test current library uri", () {
String appendSlash(String path) => path.endsWith('/') ? path : '$path/';
- Uri cwd = new Uri.fromComponents(
+ Uri cwd = new Uri(
scheme: 'file',
path: appendSlash(new Path(new File('.').fullPathSync()).toString()));
Uri uri = cwd.resolve(new Path(new Options().script).toString());
« no previous file with comments | « tests/lib/analyzer/analyze_tests.status ('k') | tests/lib/mirrors/library_uri_package_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698