Update ArraysJoinAndSplitJUnitTest.java

This commit is contained in:
ishwardas 2016-08-02 09:23:53 -05:00 committed by GitHub
parent 77c84e9e79
commit 88c360a336
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class ArraysJoinAndSplitJUnitTest {
private final String[] customers = {"Jay", "Harry", "Ronnie", "Gary", "Ross"};
@Test
public void givenOneStringArray_whenSplittingInHalfBetweenTwoStringArrays_ShouldSucceed() throws Exception {
public void givenOneStringArray_whenSplittingInHalfTwoStringArrays_ShouldSucceed() throws Exception {
int ordersHalved = (customers.length / 2) + (customers.length % 2);
String[] driverOne = Arrays.copyOf(customers, ordersHalved);