mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
修正测试用例
This commit is contained in:
parent
7615d30f8b
commit
e2d71ee560
@ -212,9 +212,9 @@ public class LocalDateTimeUtilTest {
|
||||
public void weekOfYearTest2(){
|
||||
LocalDate date1 = LocalDate.of(2022, 1, 31);
|
||||
final int weekOfYear1 = LocalDateTimeUtil.weekOfYear(date1);
|
||||
Assert.assertEquals(weekOfYear1, 52);
|
||||
Assert.assertEquals(weekOfYear1, 5);
|
||||
|
||||
final int weekOfYear2 = LocalDateTimeUtil.weekOfYear(date1.atStartOfDay());
|
||||
Assert.assertEquals(weekOfYear2, 52);
|
||||
Assert.assertEquals(weekOfYear2, 5);
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ package cn.hutool.core.text.csv;
|
||||
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.util.CharsetUtil;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
public class CsvWriterTest {
|
||||
|
Loading…
x
Reference in New Issue
Block a user