Index: tests/standalone/io/file_system_links_test.dart |
diff --git a/tests/standalone/io/file_system_links_test.dart b/tests/standalone/io/file_system_links_test.dart |
index 588f157470423dd58071a6a5bfd9faf9657000f9..f3a3148c4830b55a01273b5db68016844808b923 100644 |
--- a/tests/standalone/io/file_system_links_test.dart |
+++ b/tests/standalone/io/file_system_links_test.dart |
@@ -58,7 +58,7 @@ testFileExistsCreate() { |
FileSystemEntity.typeSync(x, followLinks: false)); |
Expect.equals(x, new Link(y).targetSync()); |
- new File(y).deleteSync(); |
+ new Link(y).deleteSync(); |
Expect.isFalse(FileSystemEntity.isLinkSync(y)); |
Expect.isFalse(FileSystemEntity.isLinkSync(x)); |
Expect.equals(FileSystemEntityType.NOT_FOUND, FileSystemEntity.typeSync(y)); |