From 0c9c307b0e534c0ee6fa8f58d496446233d6c764 Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Wed, 29 Jun 2016 10:13:50 -0600 Subject: Flag kick-out should work --- test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.cxx') diff --git a/test.cxx b/test.cxx index 1b6bea7..0fc703d 100644 --- a/test.cxx +++ b/test.cxx @@ -466,7 +466,7 @@ TEST_CASE("Sub-parsers should work through kick-out", "[args]") args::Flag foo2(parser2, "Foo", "Foo", {'f', "foo"}); args::Flag bar2(parser2, "Bar", "Bar", {'b', "bar"}); - parser1.ParseArgs(next, std::end(args)); + parser2.ParseArgs(next, std::end(args)); REQUIRE(foo1); REQUIRE_FALSE(bar1); -- cgit v1.2.1