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:
Gary D. Gregory 2014-03-12 14:29:33 +00:00
parent 5d28695b99
commit bf8f23c310
1 changed files with 4 additions and 4 deletions

View File

@ -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());
}
}