diff options
author | Taylor C. Richberger <Taywee@gmx.com> | 2016-06-29 10:13:50 -0600 |
---|---|---|
committer | Taylor C. Richberger <Taywee@gmx.com> | 2016-06-29 10:13:50 -0600 |
commit | 0c9c307b0e534c0ee6fa8f58d496446233d6c764 (patch) | |
tree | 177631c353228d072b5455f16e754400aa3ac27e /test.cxx | |
parent | add kick-out tests (diff) | |
download | args.hxx-0c9c307b0e534c0ee6fa8f58d496446233d6c764.tar.xz |
Flag kick-out should work
Diffstat (limited to 'test.cxx')
-rw-r--r-- | test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |