From d164a20bc905343d062a4a355cd0d489b4b8ef75 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 24 Jul 2017 21:48:04 +0300 Subject: [PATCH] Additional test for error reporting. Closes #30. --- test/exception_txt_test.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test/exception_txt_test.cpp b/test/exception_txt_test.cpp index bbc6003..1f77f15 100644 --- a/test/exception_txt_test.cpp +++ b/test/exception_txt_test.cpp @@ -620,7 +620,27 @@ void test_invalid_command_line_style_exception_msg() } } +void test_empty_value_inner(options_description &opts, variables_map& vm) { + positional_options_description popts; + opts.add_options()("foo", value()->value_name("