From fa21ca09a807e18476babe2651ad62df6477bbf0 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 20 Nov 2018 18:41:32 -0500 Subject: test: Add BOOST_REQUIRE to getters returning optional --- src/test/util_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/util_tests.cpp') diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index f461c7496f..9acebdd820 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -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) { -- cgit v1.2.3