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); |
}); |
} |