mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
c7c4457deb
commit
1cfd6c7a5c
@ -16,7 +16,6 @@
|
||||
|
||||
package org.dromara.hutool.poi.csv;
|
||||
|
||||
import org.dromara.hutool.core.io.file.FileUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@ -36,8 +35,9 @@ public class Issue3705Test {
|
||||
csvWriter.flush();
|
||||
}
|
||||
|
||||
// CsvWriteConfig中默认为`\r\n`
|
||||
Assertions.assertEquals(
|
||||
"\"2024-08-20 14:24:35,\"" + FileUtil.getLineSeparator() + "最后一行",
|
||||
"\"2024-08-20 14:24:35,\"\r\n最后一行",
|
||||
stringWriter.toString());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user