[CSV-217] Add autoFlush option for CsvPrinter. Remove println() in test.
This commit is contained in:
parent
9c20341469
commit
3c0a73b30f
|
@ -1347,7 +1347,7 @@ public class CSVPrinterTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCloseWithCsvFormatAutoFlushOn() throws IOException {
|
public void testCloseWithCsvFormatAutoFlushOn() throws IOException {
|
||||||
System.out.println("start method");
|
// System.out.println("start method");
|
||||||
Writer writer = mock(Writer.class);
|
Writer writer = mock(Writer.class);
|
||||||
CSVFormat csvFormat = CSVFormat.DEFAULT.withAutoFlush(true);
|
CSVFormat csvFormat = CSVFormat.DEFAULT.withAutoFlush(true);
|
||||||
try (CSVPrinter csvPrinter = new CSVPrinter(writer, csvFormat)) {
|
try (CSVPrinter csvPrinter = new CSVPrinter(writer, csvFormat)) {
|
||||||
|
|
Loading…
Reference in New Issue