Skip to content

Commit f87779b

Browse files
committed
Fail if it was impossible to delete cache directory
For example it can be caused by open handler to file on Windows.
1 parent f2d7b1a commit f87779b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected void setUp() throws Exception {
106106
if (LOCAL_CACHE_DIR.exists()) {
107107
if (isLocalCacheOutdated()) {
108108
System.out.println("-- Local caches outdated --");
109-
FilesKt.deleteRecursively(LOCAL_CACHE_DIR);
109+
Assert.assertTrue("Failed to delete local cache!", FilesKt.deleteRecursively(LOCAL_CACHE_DIR));
110110
localCacheRebuild = true;
111111
}
112112
}

0 commit comments

Comments
 (0)