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

Unified Diff: tests/lib/mirrors/library_uri_io_test.dart

Issue 23054008: Remove the Path class from dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed first round of review comments Created 7 years, 4 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/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 1ee7b4c77ec0acab56914aae434df30912e5fcde..e23da244e0d2f299ac9f925c818348e3842f47d1 100644
--- a/tests/lib/mirrors/library_uri_io_test.dart
+++ b/tests/lib/mirrors/library_uri_io_test.dart
@@ -26,8 +26,8 @@ main() {
String appendSlash(String path) => path.endsWith('/') ? path : '$path/';
Uri cwd = new Uri(
scheme: 'file',
- path: appendSlash(new Path(new File('.').fullPathSync()).toString()));
- Uri uri = cwd.resolve(new Path(Platform.script).toString());
+ path: appendSlash(new File('.').fullPathSync()));
+ Uri uri = cwd.resolve(Platform.script);
testLibraryUri(new Class(), uri);
});
}

Powered by Google App Engine
This is Rietveld 408576698