test: Add BOOST_REQUIRE to getters returning optional

This commit is contained in:
MarcoFalke
2018-11-20 18:41:32 -05:00
parent 6d58a5c3b0
commit fa21ca09a8
4 changed files with 12 additions and 11 deletions

View File

@@ -187,7 +187,7 @@ struct TestArgsManager : public ArgsManager
m_config_args.clear();
}
std::string error;
ReadConfigStream(streamConfig, error);
BOOST_REQUIRE(ReadConfigStream(streamConfig, error));
}
void SetNetworkOnlyArg(const std::string arg)
{