refactor: Enable more clang-tidy readability checks (#6595)

Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
Alex Kremer
2026-03-24 15:42:12 +00:00
committed by GitHub
parent 8b986e4ab0
commit 0eedefbf45
248 changed files with 948 additions and 935 deletions

View File

@@ -19,7 +19,7 @@ namespace xrpl {
class Transaction_test : public beast::unit_test::suite
{
std::unique_ptr<Config>
static std::unique_ptr<Config>
makeNetworkConfig(uint32_t networkID)
{
using namespace test::jtx;
@@ -91,7 +91,7 @@ class Transaction_test : public beast::unit_test::suite
result[jss::result][jss::status] == jss::error &&
result[jss::result][jss::error] == NOT_FOUND);
if (deltaEndSeq)
if (deltaEndSeq != 0)
{
BEAST_EXPECT(!result[jss::result][jss::searched_all].asBool());
}
@@ -332,7 +332,7 @@ class Transaction_test : public beast::unit_test::suite
result[jss::result][jss::status] == jss::error &&
result[jss::result][jss::error] == NOT_FOUND);
if (deltaEndSeq)
if (deltaEndSeq != 0)
{
BEAST_EXPECT(!result[jss::result][jss::searched_all].asBool());
}