Use org.junit.Assert.assertArrayEquals

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1591830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-05-02 08:55:28 +00:00
parent fe354beb93
commit 548e5c42f5
1 changed files with 0 additions and 7 deletions

View File

@ -592,11 +592,4 @@ public class DurationFormatUtilsTest {
}
}
private void assertArrayEquals(final DurationFormatUtils.Token[] obj1, final DurationFormatUtils.Token[] obj2) {
assertEquals("Arrays are unequal length. ", obj1.length, obj2.length);
for (int i = 0; i < obj1.length; i++) {
assertTrue("Index " + i + " not equal, " + obj1[i] + " vs " + obj2[i], obj1[i].equals(obj2[i]));
}
}
}