mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
it throws an exception if deletion fails
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22331 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
596e2b9de1
commit
7589cf7cb0
1 file changed
+2
-2
@@ -98,8 +98,8 @@ public class FilePathTest extends TestCase {
|
||||
|
||||
f.copyTo(f2);
|
||||
|
||||
assertTrue("could not delete target " + tmp.getPath(), f.delete());
|
||||
assertTrue("could not delete target " + tmp2.getPath(), f2.delete());
|
||||
f.delete();
|
||||
f2.delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user