aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-11-20 18:41:32 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-20 19:51:49 -0500
commitfa21ca09a807e18476babe2651ad62df6477bbf0 (patch)
tree539e5c07937b9d82f5e8c59a199a2bd3570a0aa1 /src/test/util_tests.cpp
parent6d58a5c3b05585b01c960776e00856637ff1794d (diff)
test: Add BOOST_REQUIRE to getters returning optional
Diffstat (limited to 'src/test/util_tests.cpp')
-rw-r--r--src/test/util_tests.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{