This commit is contained in:
Jarryd Beck 2021-07-31 10:39:30 +10:00
parent 4b7fccb5f2
commit c641241a87
2 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ TEST_CASE("Positional with empty arguments", "[positional]") {
Argv av({"foobar", "--long", "long_value", "--", "someProgram", "ab", "-c", "d", "--ef", "gh", "--ijk=lm", "n", "", "o", });
std::vector<std::string> expected({"ab", "-c", "d", "--ef", "gh", "--ijk=lm", "n", "", "o", });
char** argv = av.argv();
auto** argv = av.argv();
auto argc = av.argc();
auto result = options.parse(argc, argv);