fix: 单元测试

main
13009 2024-05-21 10:51:19 +08:00
parent 3732659cee
commit 941709d154
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.czcb.scfs.api.core.exception;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
class ZipExceptionTest {
@Test
void test() {
Assertions.assertThrows(ZipException.class, () -> {
throw new ZipException();
});
Assertions.assertThrows(ZipException.class, () -> {
throw new ZipException("");
});
}
}