Index: tests/standalone/io/file_non_ascii_test.dart |
diff --git a/tests/standalone/io/file_non_ascii_test.dart b/tests/standalone/io/file_non_ascii_test.dart |
index 3a3c85dc18682d48bd7080b990ea6b5fe91637ea..2778205dd86c6e88b99153a4cb47b1a25becf320 100644 |
--- a/tests/standalone/io/file_non_ascii_test.dart |
+++ b/tests/standalone/io/file_non_ascii_test.dart |
@@ -28,13 +28,13 @@ main() { |
// The contents of the file is precomposed utf8. |
Expect.equals(precomposed, contents); |
nonAsciiFile.create().then((_) { |
- var d = nonAsciiFile.directory; |
+ var d = nonAsciiFile.parent; |
Expect.isTrue(d.path.endsWith(precomposed) || |
d.path.endsWith(decomposed)); |
nonAsciiFile.length().then((length) { |
Expect.equals(6, length); |
nonAsciiFile.lastModified().then((_) { |
- nonAsciiFile.fullPath().then((path) { |
+ nonAsciiFile.resolveSymbolicLinks().then((path) { |
Expect.isTrue(path.endsWith('${precomposed}.txt') || |
path.endsWith('${decomposed}.txt')); |
tempDir.delete(recursive: true).then((_) { |