diff options
author | MacroFake <falke.marco@gmail.com> | 2022-04-29 14:37:46 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-04-29 14:35:50 +0200 |
commit | fafa7276126d21d7e2f723673b64382e16a902d9 (patch) | |
tree | 0f2792e10687efd6f97f92e54cb461efb5c02ddb | |
parent | 26296eba3dc34043b025bda167386c47693705b5 (diff) |
test: Remove boost::split from getarg_tests.cpp
-rw-r--r-- | src/test/getarg_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/getarg_tests.cpp b/src/test/getarg_tests.cpp index c877105fe7..70dd137e22 100644 --- a/src/test/getarg_tests.cpp +++ b/src/test/getarg_tests.cpp @@ -13,7 +13,6 @@ #include <utility> #include <vector> -#include <boost/algorithm/string.hpp> #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(getarg_tests, BasicTestingSetup) @@ -21,8 +20,9 @@ BOOST_FIXTURE_TEST_SUITE(getarg_tests, BasicTestingSetup) void ResetArgs(ArgsManager& local_args, const std::string& strArg) { std::vector<std::string> vecArg; - if (strArg.size()) - boost::split(vecArg, strArg, IsSpace, boost::token_compress_on); + if (strArg.size()) { + vecArg = SplitString(strArg, ' '); + } // Insert dummy executable name: vecArg.insert(vecArg.begin(), "testbitcoin"); |