mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -1096,7 +1096,7 @@ struct PayChan_test : public beast::unit_test::suite
|
||||
{
|
||||
auto leftToFind = bobsB58;
|
||||
auto const numFull = bobs.size() / limit;
|
||||
auto const numNonFull = bobs.size() % limit ? 1 : 0;
|
||||
auto const numNonFull = ((bobs.size() % limit) != 0u) ? 1 : 0;
|
||||
|
||||
Json::Value marker = Json::nullValue;
|
||||
|
||||
@@ -1122,7 +1122,7 @@ struct PayChan_test : public beast::unit_test::suite
|
||||
testIt(expectMarker, limit);
|
||||
}
|
||||
|
||||
if (numNonFull)
|
||||
if (numNonFull != 0)
|
||||
{
|
||||
testIt(false, bobs.size() % limit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user