Index: tests/standalone/io/file_non_ascii_sync_test.dart |
diff --git a/tests/standalone/io/file_non_ascii_sync_test.dart b/tests/standalone/io/file_non_ascii_sync_test.dart |
index d9e3b2db1e2655f5c20a3e796993ff94d16acc37..1957d4fb7d9a2967068177dd11031d0b031e9e56 100644 |
--- a/tests/standalone/io/file_non_ascii_sync_test.dart |
+++ b/tests/standalone/io/file_non_ascii_sync_test.dart |
@@ -21,11 +21,11 @@ main() { |
// The contents of the file is precomposed utf8. |
Expect.equals(precomposed, nonAsciiFile.readAsStringSync()); |
nonAsciiFile.createSync(); |
- var path = nonAsciiFile.directory.path; |
+ var path = nonAsciiFile.parent.path; |
Expect.isTrue(path.endsWith(precomposed) || path.endsWith(decomposed)); |
Expect.equals(6, nonAsciiFile.lengthSync()); |
nonAsciiFile.lastModifiedSync(); |
- path = nonAsciiFile.fullPathSync(); |
+ path = nonAsciiFile.resolveSymbolicLinksSync(); |
Expect.isTrue(path.endsWith('${precomposed}.txt') || |
path.endsWith('${decomposed}.txt')); |
tempDir.deleteSync(recursive: true); |