Skip to content

Commit ac03c2e

Browse files
committed
Simplify tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509446 13f79535-47bb-0310-9956-ffa450edef68
1 parent 666350b commit ac03c2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ public void setUp() throws IOException {
4444

4545
@Test(expected = IllegalArgumentException.class)
4646
public void testGetBooleanByMissingString() {
47-
Assert.assertEquals(null, Boolean.valueOf(record.getBoolean("ABSENT")));
47+
record.getBoolean("ABSENT");
4848
}
4949

5050
@Test(expected = IllegalArgumentException.class)
5151
public void testGetBooleanByNullString() {
52-
Assert.assertEquals(null, Boolean.valueOf(record.getBoolean(null)));
52+
record.getBoolean(null);
5353
}
5454

5555
@Test

0 commit comments

Comments
 (0)