Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit fcdf1f2

Browse files
committed
Clean up tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578199 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3cb24cb commit fcdf1f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/org/apache/commons/csv/CSVParserTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,8 @@ public void testParseStringNullFormat() throws Exception {
728728

729729
@Test(expected = IllegalArgumentException.class)
730730
public void testParseUrlCharsetNullFormat() throws Exception {
731-
CSVParser.parse(new URL("http://commons.apache.org"), Charset.defaultCharset(), null);
731+
final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), Charset.defaultCharset(), null);
732+
parser.close();
732733
}
733734

734735
@Test

0 commit comments

Comments
 (0)