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 7c3cdc7c320ca3fb5e4670d638977c311b81d9b4..7fb67f419ac251035dbf5110993fd5a13dd2b6a7 100644 |
--- a/tests/standalone/io/file_system_links_test.dart |
+++ b/tests/standalone/io/file_system_links_test.dart |
@@ -57,7 +57,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)); |