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:
kohsuke committed 2009-10-01 21:33:17 +00:00
1 parent 596e2b9de1
commit 7589cf7cb0
1 file changed
+2 -2
+2 -2
View File
@@ -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();
}
}