You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2014/03/12 15:29:33 UTC

svn commit: r1576750 - /commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java

Author: ggregory
Date: Wed Mar 12 14:29:33 2014
New Revision: 1576750

URL: http://svn.apache.org/r1576750
Log:
Sort in AB order.

Modified:
    commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java

Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1576750&r1=1576749&r2=1576750&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java Wed Mar 12 14:29:33 2014
@@ -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());
-    }
 }