diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-02 16:31:10 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-05 16:52:59 +0100 |
commit | 145fe95ec7a15c3796d5ed24521dde220edecbe0 (patch) | |
tree | 82a1c7794450c438f3ea9307a2c380c16155a3d0 /src/test/getarg_tests.cpp | |
parent | 7c5bc2a52388522eccd3090e9473d4b627980672 (diff) |
tests: Check return value of ParseParameters(...)
Diffstat (limited to 'src/test/getarg_tests.cpp')
-rw-r--r-- | src/test/getarg_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/getarg_tests.cpp b/src/test/getarg_tests.cpp index 0432ede3e0..14ddf4d10e 100644 --- a/src/test/getarg_tests.cpp +++ b/src/test/getarg_tests.cpp @@ -28,7 +28,7 @@ static void ResetArgs(const std::string& strArg) vecChar.push_back(s.c_str()); std::string error; - gArgs.ParseParameters(vecChar.size(), vecChar.data(), error); + BOOST_CHECK(gArgs.ParseParameters(vecChar.size(), vecChar.data(), error)); } static void SetupArgs(const std::vector<std::string>& args) |