Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/options.cpp')
-rw-r--r--test/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/options.cpp b/test/options.cpp
index 610a6bc..3398b70 100644
--- a/test/options.cpp
+++ b/test/options.cpp
@@ -95,6 +95,8 @@ TEST_CASE("Basic options", "[options]")
CHECK(arguments[3].key() == "av");
CHECK_THROWS_AS(result["nothing"].as<std::string>(), cxxopts::option_has_no_value_exception&);
+
+ CHECK(options.program() == "tester");
}
TEST_CASE("Short options", "[options]")