mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix move bug
This commit is contained in:
@@ -73,6 +73,12 @@ public class FileUtilTest {
|
||||
FileUtil.rename(FileUtil.file("d:/test/3.jpg"), "2.jpg", false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void renameTest2() {
|
||||
FileUtil.move(FileUtil.file("d:/test/a"), FileUtil.file("d:/test/b"), false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void copyTest() {
|
||||
File srcFile = FileUtil.file("hutool.jpg");
|
||||
|
@@ -18,4 +18,10 @@ public class PathUtilTest {
|
||||
StandardCopyOption.REPLACE_EXISTING
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void moveTest(){
|
||||
PathUtil.move(Paths.get("d:/lombok.jar"), Paths.get("d:/test/"), false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user