Skip to content

Commit fafa727

Browse files
author
MacroFake
committed
test: Remove boost::split from getarg_tests.cpp
1 parent 26296eb commit fafa727

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/getarg_tests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
#include <utility>
1414
#include <vector>
1515

16-
#include <boost/algorithm/string.hpp>
1716
#include <boost/test/unit_test.hpp>
1817

1918
BOOST_FIXTURE_TEST_SUITE(getarg_tests, BasicTestingSetup)
2019

2120
void ResetArgs(ArgsManager& local_args, const std::string& strArg)
2221
{
2322
std::vector<std::string> vecArg;
24-
if (strArg.size())
25-
boost::split(vecArg, strArg, IsSpace, boost::token_compress_on);
23+
if (strArg.size()) {
24+
vecArg = SplitString(strArg, ' ');
25+
}
2626

2727
// Insert dummy executable name:
2828
vecArg.insert(vecArg.begin(), "testbitcoin");

0 commit comments

Comments
 (0)