Index: tests/standalone/io/skipping_dart2js_compilations_test.dart |
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
index 17ba2cfd260f9b2178cedf978dab562fcd3372e9..b41dc75a8df4fe6209716f1e4d1d4b3739eecd5e 100644 |
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart |
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
@@ -107,7 +107,8 @@ class FileUtils { |
void _writeToFile(File file, String content) { |
if (content != null) { |
- var fd = new File(file.fullPathSync()).openSync(mode: FileMode.WRITE); |
+ var fd = new File(file.resolveSymbolicLinksSync()) |
+ .openSync(mode: FileMode.WRITE); |
fd.writeStringSync(content); |
fd.closeSync(); |
} |