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

Commit 64de57a

Browse files
committed
Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559898 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5ec59af commit 64de57a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,27 @@ public void testGetString() {
6060
assertEquals(values[2], recordWithHeader.get("third"));
6161
}
6262

63-
@Test(expected = IllegalStateException.class)
64-
public void testGetStringNoHeader() {
65-
record.get("first");
66-
}
67-
6863
@Test(expected = IllegalArgumentException.class)
6964
public void testGetStringInconsistentRecord() {
7065
header.put("fourth", Integer.valueOf(4));
7166
recordWithHeader.get("fourth");
7267
}
7368

74-
@Test(expected = IllegalArgumentException.class)
75-
public void testGetUnmappedName() {
76-
assertNull(recordWithHeader.get("fourth"));
69+
@Test(expected = IllegalStateException.class)
70+
public void testGetStringNoHeader() {
71+
record.get("first");
7772
}
7873

7974
@Test(expected = IllegalArgumentException.class)
8075
public void testGetUnmappedEnum() {
8176
assertNull(recordWithHeader.get(EnumFixture.UNKNOWN_COLUMN));
8277
}
8378

79+
@Test(expected = IllegalArgumentException.class)
80+
public void testGetUnmappedName() {
81+
assertNull(recordWithHeader.get("fourth"));
82+
}
83+
8484
@Test(expected = ArrayIndexOutOfBoundsException.class)
8585
public void testGetUnmappedNegativeInt() {
8686
assertNull(recordWithHeader.get(Integer.MIN_VALUE));

0 commit comments

Comments
 (0)