Fix unit tests

This commit is contained in:
Sergii Bogomolov 2019-03-11 10:08:34 +01:00
parent db0c4abe10
commit a8482632c3

View File

@ -94,7 +94,7 @@ TEST_CASE("Basic options", "[options]")
CHECK(arguments[2].key() == "value");
CHECK(arguments[3].key() == "av");
CHECK_THROWS_AS(result["nothing"].as<std::string>(), std::domain_error&);
CHECK_THROWS_AS(result["nothing"], cxxopts::option_required_exception&);
}
TEST_CASE("Short options", "[options]")