mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add Paillier
This commit is contained in:
@@ -494,4 +494,11 @@ public class FileUtilTest {
|
||||
final byte[] bytes = FileUtil.readBytes("test.properties");
|
||||
Assertions.assertEquals(125, bytes.length);
|
||||
}
|
||||
|
||||
@Test
|
||||
void checkSlipTest() {
|
||||
Assertions.assertThrows(IllegalArgumentException.class, ()->{
|
||||
FileUtil.checkSlip(FileUtil.file("test/a"), FileUtil.file("test/../a"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user