Fix a typo

This commit is contained in:
Yoshihiro Hokazono 2022-06-22 07:16:41 +09:00
parent df6e7de86a
commit 7b5084c454

View File

@ -88,7 +88,7 @@ TEST_CASE("Parse optional arguments of many values" *
program.add_argument("-i").remaining().scan<'i', int>(); program.add_argument("-i").remaining().scan<'i', int>();
WHEN("provided no argument") { WHEN("provided no argument") {
THEN("the program accepts it bug gets nothing") { THEN("the program accepts it but gets nothing") {
REQUIRE_NOTHROW(program.parse_args({"test"})); REQUIRE_NOTHROW(program.parse_args({"test"}));
REQUIRE_THROWS_AS(program.get<std::vector<int>>("-i"), REQUIRE_THROWS_AS(program.get<std::vector<int>>("-i"),
std::logic_error); std::logic_error);