Fix typo in UtilsUnitTest data provider name
This is currently my leading suspect for the cause of the intermittent NoSuchElementException errors on master, since the maven surefire plugin seems unable to handle errors in TestNG DataProviders without blowing up.
This commit is contained in:
parent
4ba72d43cf
commit
e549f4a9d2
|
|
@ -237,7 +237,7 @@ public class UtilsUnitTest extends BaseTest {
|
|||
Assert.assertEquals(s.length() - frontTrim - backTrim, Utils.trimArray(s.getBytes(), frontTrim, backTrim).length);
|
||||
}
|
||||
|
||||
@Test(dataProvider = "equalRange", enabled = true)
|
||||
@Test(dataProvider = "equalRangeData", enabled = true)
|
||||
public void testEqualRange(final byte[] array1, final byte[] array2, final int offset1, final int offset2, final int length, final boolean expected) {
|
||||
Assert.assertEquals(Utils.equalRange(array1,offset1,array2,offset2,length),expected);
|
||||
Assert.assertTrue(Utils.equalRange(array1,offset1,array1,offset1,length));
|
||||
|
|
|
|||
Loading…
Reference in New Issue