Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hokacci committed Jun 21, 2022
1 parent df6e7de commit 7b5084c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_optional_arguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b5084c

Please sign in to comment.