Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c52b1f0a9d
commit
446eaf8c2a
|
@ -41,8 +41,8 @@ final class Utils {
|
||||||
*/
|
*/
|
||||||
public static void compare(final String message, final String[][] expected, final List<CSVRecord> actual) {
|
public static void compare(final String message, final String[][] expected, final List<CSVRecord> actual) {
|
||||||
Assert.assertEquals(message+" - outer array size", expected.length, actual.size());
|
Assert.assertEquals(message+" - outer array size", expected.length, actual.size());
|
||||||
for(int i = 0; i < expected.length; i++) {
|
for (int i = 0; i < expected.length; i++) {
|
||||||
Assert.assertArrayEquals(message+" (entry "+i+")",expected[i], actual.get(i).values());
|
Assert.assertArrayEquals(message + " (entry " + i + ")", expected[i], actual.get(i).values());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue