mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
bug fix: wrong index
This commit is contained in:
parent
25b44bab7b
commit
79326cbc94
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ using namespace UnitTest;
|
|||
ArgumentsReader::ArgumentsReader(int argc, char**argv)
|
||||
{
|
||||
_arguments.reserve(argc);
|
||||
for (int i = 1; i < argc; i++)
|
||||
for (int i = 0; i < argc; i++)
|
||||
{
|
||||
_arguments.push_back(argv[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue