Don't mark files for deleted explicitly: they are under project

Follow-up to db21e64, this usage was just forgotten.
This commit is contained in:
Kirill Likhodedov
2017-03-22 15:26:06 +00:00
parent 88dc3538a8
commit f913b0e2dd
@@ -144,12 +144,8 @@ public abstract class VcsRootBaseTest extends VcsPlatformTest {
File projectDir = createChild(baseDir, maxDepth - 1);
cd(projectDir.getPath());
for (String path : mockRoots) {
File file = new File(projectDir, path);
file.mkdirs();
File mockDir = new File(file, DOT_MOCK);
File mockDir = new File(new File(projectDir, path), DOT_MOCK);
mockDir.mkdirs();
myFilesToDelete.add(mockDir);
mockDir.deleteOnExit();
LocalFileSystem.getInstance().refreshAndFindFileByIoFile(mockDir);
}
}