Wrong address added to collection in test
The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
This commit is contained in:
parent
b9a4aaad1e
commit
af8c050bff
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL)
|
||||||
result.push_back(nRequired);
|
result.push_back(nRequired);
|
||||||
Array addresses;
|
Array addresses;
|
||||||
if (address1) addresses.push_back(address1);
|
if (address1) addresses.push_back(address1);
|
||||||
if (address2) addresses.push_back(address1);
|
if (address2) addresses.push_back(address2);
|
||||||
result.push_back(addresses);
|
result.push_back(addresses);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue