Skip to content

Commit f667ed5

Browse files
committed
Fix, compile failure in bad context test
1 parent 8d7c24e commit f667ed5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/clitest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Usage: test [--help] [B]
426426
// Bad context.
427427
{
428428
cli = {};
429-
cli.opt<string>("a").check([](auto & cli, auto & opt, auto & value) {
429+
cli.opt<string>("[a]").check([](auto & cli, auto &, auto &) {
430430
cli.newValue("y");
431431
});
432432
EXPECT_PARSE(cli, "x");

0 commit comments

Comments
 (0)