mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-05 21:28:00 +08:00
修正测试用例
This commit is contained in:
parent
7615d30f8b
commit
e2d71ee560
@ -212,9 +212,9 @@ public class LocalDateTimeUtilTest {
|
|||||||
public void weekOfYearTest2(){
|
public void weekOfYearTest2(){
|
||||||
LocalDate date1 = LocalDate.of(2022, 1, 31);
|
LocalDate date1 = LocalDate.of(2022, 1, 31);
|
||||||
final int weekOfYear1 = LocalDateTimeUtil.weekOfYear(date1);
|
final int weekOfYear1 = LocalDateTimeUtil.weekOfYear(date1);
|
||||||
Assert.assertEquals(weekOfYear1, 52);
|
Assert.assertEquals(weekOfYear1, 5);
|
||||||
|
|
||||||
final int weekOfYear2 = LocalDateTimeUtil.weekOfYear(date1.atStartOfDay());
|
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.io.FileUtil;
|
||||||
import cn.hutool.core.util.CharsetUtil;
|
import cn.hutool.core.util.CharsetUtil;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class CsvWriterTest {
|
public class CsvWriterTest {
|
||||||
|
Loading…
Reference in New Issue
Block a user