mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix --test.
This commit is contained in:
@@ -119,9 +119,9 @@ int main(int argc, char* argv[])
|
||||
pvCmd.resize(iCmd);
|
||||
|
||||
for (int i=0; i != iCmd; ++i)
|
||||
pvCmd[i] = (char*) (vCmd[0].c_str());
|
||||
pvCmd[i] = (char*) (vCmd[i].c_str());
|
||||
|
||||
iResult = unit_test_main(init_unit_test, iCmd, &pvCmd.front());
|
||||
iResult = unit_test_main(init_unit_test, iCmd, &pvCmd[0]);
|
||||
}
|
||||
else if (!vm.count("parameters"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user