Skip to content

Commit bf8f23c

Browse files
committed
Sort in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1576750 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5d28695 commit bf8f23c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ private static void assertNotEquals(final Object right, final Object left) {
4747
assertFalse(left.equals(right));
4848
}
4949

50+
private static CSVFormat copy(final CSVFormat format) {
51+
return format.withDelimiter(format.getDelimiter());
52+
}
53+
5054
@Test(expected = IllegalStateException.class)
5155
public void testDelimiterSameAsCommentStartThrowsException() {
5256
CSVFormat.DEFAULT.withDelimiter('!').withCommentStart('!').validate();
@@ -366,8 +370,4 @@ public void testWithRecordSeparator() throws Exception {
366370
final CSVFormat formatWithRecordSeparator = CSVFormat.DEFAULT.withRecordSeparator('!');
367371
assertEquals("!", formatWithRecordSeparator.getRecordSeparator());
368372
}
369-
370-
private static CSVFormat copy(final CSVFormat format) {
371-
return format.withDelimiter(format.getDelimiter());
372-
}
373373
}

0 commit comments

Comments
 (0)