mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Fix a typo
This commit is contained in:
parent
df6e7de86a
commit
7b5084c454
@ -88,7 +88,7 @@ TEST_CASE("Parse optional arguments of many values" *
|
||||
program.add_argument("-i").remaining().scan<'i', int>();
|
||||
|
||||
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_THROWS_AS(program.get<std::vector<int>>("-i"),
|
||||
std::logic_error);
|
||||
|
Loading…
Reference in New Issue
Block a user