aboutsummaryrefslogtreecommitdiff
path: root/test.cxx
diff options
context:
space:
mode:
authorTaylor C. Richberger <Taywee@gmx.com>2016-06-29 10:13:50 -0600
committerTaylor C. Richberger <Taywee@gmx.com>2016-06-29 10:13:50 -0600
commit0c9c307b0e534c0ee6fa8f58d496446233d6c764 (patch)
tree177631c353228d072b5455f16e754400aa3ac27e /test.cxx
parentadd kick-out tests (diff)
downloadargs.hxx-0c9c307b0e534c0ee6fa8f58d496446233d6c764.tar.xz
Flag kick-out should work
Diffstat (limited to 'test.cxx')
-rw-r--r--test.cxx2
1 files changed, 1 insertions, 1 deletions
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);