git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-01-18 21:37:46 +00:00
parent c52b1f0a9d
commit 446eaf8c2a
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ final class Utils {
*/
public static void compare(final String message, final String[][] expected, final List<CSVRecord> actual) {
Assert.assertEquals(message+" - outer array size", expected.length, actual.size());
for(int i = 0; i < expected.length; i++) {
Assert.assertArrayEquals(message+" (entry "+i+")",expected[i], actual.get(i).values());
for (int i = 0; i < expected.length; i++) {
Assert.assertArrayEquals(message + " (entry " + i + ")", expected[i], actual.get(i).values());
}
}
}