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