Skip to content

Commit 5433169

Browse files
committed
Enable JiraCsv213Test
1 parent 7165be4 commit 5433169

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@
2525
import org.apache.commons.csv.CSVFormat;
2626
import org.apache.commons.csv.CSVParser;
2727
import org.apache.commons.csv.QuoteMode;
28-
import org.junit.jupiter.api.Disabled;
2928
import org.junit.jupiter.api.Test;
3029

3130
/**
3231
* Tests https://issues.apache.org/jira/browse/CSV-213
33-
*
32+
* <p>
3433
* This is normal behavior with the current architecture: The iterator() API presents an object that is backed by data
3534
* in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
3635
* create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior
3736
* you want, you need to open a new CSVParser.
37+
* </p>
3838
*/
39-
@Disabled
4039
public class JiraCsv213Test {
4140

4241
private void createEndChannel(final File csvFile) {
@@ -64,6 +63,6 @@ private void createEndChannel(final File csvFile) {
6463

6564
@Test
6665
public void test() {
67-
createEndChannel(new File("src/test/resources/CSV-213/999751170.patch.csv"));
66+
createEndChannel(new File("src/test/resources/org/apache/commons/csv/CSV-213/999751170.patch.csv"));
6867
}
6968
}

0 commit comments

Comments
 (0)