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 23290e36f1c4420a45bf42dcf79f467a3d3ee576..c5004f6c370a240328c91aed03d6b4ab6cec7a26 100644 |
--- a/tests/standalone/io/file_non_ascii_sync_test.dart |
+++ b/tests/standalone/io/file_non_ascii_sync_test.dart |
@@ -20,7 +20,7 @@ main() { |
// The contents of the file is precomposed utf8. |
Expect.equals(precomposed, nonAsciiFile.readAsStringSync()); |
nonAsciiFile.createSync(); |
- var path = nonAsciiFile.directorySync().path; |
+ var path = nonAsciiFile.directory.path; |
Expect.isTrue(path.endsWith(precomposed) || path.endsWith(decomposed)); |
Expect.equals(6, nonAsciiFile.lengthSync()); |
nonAsciiFile.lastModifiedSync(); |