| Index: pkg/analysis_server/test/integration/integration_tests.dart
|
| diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
|
| index ac9d69bc809095d74055e81aac0805fd20aa3d45..a2e188ddf45e936d4c0b2c73d68bd755a35587af 100644
|
| --- a/pkg/analysis_server/test/integration/integration_tests.dart
|
| +++ b/pkg/analysis_server/test/integration/integration_tests.dart
|
| @@ -67,10 +67,14 @@ abstract class AbstractAnalysisServerIntegrationTest extends
|
| * overwritten.
|
| *
|
| * Parent directories are created as necessary.
|
| + *
|
| + * Return a normalized path to the file (with symbolic links resolved).
|
| */
|
| - void writeFile(String pathname, String contents) {
|
| + String writeFile(String pathname, String contents) {
|
| new Directory(dirname(pathname)).createSync(recursive: true);
|
| - new File(pathname).writeAsStringSync(contents);
|
| + File file = new File(pathname);
|
| + file.writeAsStringSync(contents);
|
| + return file.resolveSymbolicLinksSync();
|
| }
|
|
|
| /**
|
|
|