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

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

Issue 50413005: Reapply "Remove @deprecated features." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 2 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 | « sdk/lib/io/file_impl.dart ('k') | tests/standalone/http_launch_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 c7ff8519425c86e6ca624e4d3af88b17ad48b84f..7bc364462b545277e5bdb30f8bdb05d89f548c3a 100644
--- a/tests/lib/mirrors/library_uri_io_test.dart
+++ b/tests/lib/mirrors/library_uri_io_test.dart
@@ -24,7 +24,8 @@ main() {
var mirrors = currentMirrorSystem();
test("Test current library uri", () {
String appendSlash(String path) => path.endsWith('/') ? path : '$path/';
- Uri cwd = new Uri.file(appendSlash(new File('.').fullPathSync()));
+ Uri cwd =
+ new Uri.file(appendSlash(new File('.').resolveSymbolicLinksSync()));
Uri uri = cwd.resolveUri(new Uri.file(Platform.script));
testLibraryUri(new Class(), uri);
});
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | tests/standalone/http_launch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698