Sort in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1576750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d28695b99
commit
bf8f23c310
|
@ -47,6 +47,10 @@ public class CSVFormatTest {
|
|||
assertFalse(left.equals(right));
|
||||
}
|
||||
|
||||
private static CSVFormat copy(final CSVFormat format) {
|
||||
return format.withDelimiter(format.getDelimiter());
|
||||
}
|
||||
|
||||
@Test(expected = IllegalStateException.class)
|
||||
public void testDelimiterSameAsCommentStartThrowsException() {
|
||||
CSVFormat.DEFAULT.withDelimiter('!').withCommentStart('!').validate();
|
||||
|
@ -366,8 +370,4 @@ public class CSVFormatTest {
|
|||
final CSVFormat formatWithRecordSeparator = CSVFormat.DEFAULT.withRecordSeparator('!');
|
||||
assertEquals("!", formatWithRecordSeparator.getRecordSeparator());
|
||||
}
|
||||
|
||||
private static CSVFormat copy(final CSVFormat format) {
|
||||
return format.withDelimiter(format.getDelimiter());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue