Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit e716e99

Browse files
author
Dimitry
committed
address fixes from Andrey
1 parent 1ea9761 commit e716e99

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- Added: [#5575](https://github.com/ethereum/aleth/pull/5575) Log active peer count and peer list every 30 seconds.
1010
- Added: [#5580](https://github.com/ethereum/aleth/pull/5580) Enable syncing from ETC nodes for blocks < dao hard fork block.
1111
- Added: [#5591](https://github.com/ethereum/aleth/pull/5591) Network logging bugfixes and improvements and add p2pcap log channel.
12-
- Added: [#5588](https://github.com/ethereum/aleth/pull/5588) Testeth print test suggestions
12+
- Added: [#5588](https://github.com/ethereum/aleth/pull/5588) Testeth prints similar test suite name suggestions, when the name passed in `-t` argument is not found.
1313
- Added: [#5593](https://github.com/ethereum/aleth/pull/5593) Dynamically updating host ENR.
1414
- Changed: [#5559](https://github.com/ethereum/aleth/pull/5559) Update peer validation error messages.
1515
- Changed: [#5568](https://github.com/ethereum/aleth/pull/5568) Improve rlpx handshake log messages and create new rlpx log channel.

test/tools/libtesteth/boostTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <test/tools/jsontests/vm.h>
1919
#include <test/tools/libtesteth/TestHelper.h>
2020
#include <boost/test/included/unit_test.hpp>
21-
#include <boost/tokenizer.hpp>
2221
#include <clocale>
2322
#include <cstdlib>
2423
#include <iostream>
@@ -162,7 +161,7 @@ int main(int argc, const char* argv[])
162161

163162
void printTestSuiteSuggestions(string const& _sMinusTArg)
164163
{
165-
auto testList = test::testSuggestions(c_allTestNames, _sMinusTArg);
164+
auto const testList = test::testSuggestions(c_allTestNames, _sMinusTArg);
166165
std::cerr << "Did you mean: \n";
167166
for (auto const& element : testList)
168167
std::cerr << "-t " << element << "\n";

test/unittests/libtesteth/testHelperTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ BOOST_AUTO_TEST_CASE(getTestSuggestions)
185185
vector<string> const testList = {
186186
"test1", "test2", "BlockSuite", "BlockSuite/TestCase", "GeneralBlockchainTests"};
187187
auto list = test::testSuggestions(testList, "blocksuit");
188-
BOOST_CHECK_EQUAL(test::inArray(list, string("BlockSuite")), true);
188+
BOOST_CHECK(test::inArray(list, string("BlockSuite")));
189189
}
190190

191191
BOOST_AUTO_TEST_CASE(getTestSuggestions2)
@@ -194,8 +194,8 @@ BOOST_AUTO_TEST_CASE(getTestSuggestions2)
194194
"GeneralBlockchainTests", "GeneralStateTests/stExample", "BCGeneralStateTests/stExample"};
195195

196196
auto list = test::testSuggestions(testList, "GeneralStateTests/stExample2");
197-
BOOST_CHECK_EQUAL(test::inArray(list, string("GeneralStateTests/stExample")), true);
198-
BOOST_CHECK_EQUAL(test::inArray(list, string("BCGeneralStateTests/stExample")), true);
197+
BOOST_CHECK(test::inArray(list, string("GeneralStateTests/stExample")));
198+
BOOST_CHECK(test::inArray(list, string("BCGeneralStateTests/stExample")));
199199
}
200200
BOOST_AUTO_TEST_SUITE_END()
201201

0 commit comments

Comments
 (0)