This commit is contained in:
Jarryd Beck
2021-10-09 17:02:27 +11:00
parent 4b7fccb5f2
commit c641241a87
2 changed files with 5 additions and 5 deletions
+1 -1
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);