mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-31 19:10:25 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -155,7 +155,7 @@ public:
|
||||
using namespace InnerObjectFormatsUnitTestDetail;
|
||||
|
||||
// Instantiate a jtx::Env so debugLog writes are exercised.
|
||||
test::jtx::Env env(*this);
|
||||
test::jtx::Env const env(*this);
|
||||
|
||||
for (auto const& test : testArray)
|
||||
{
|
||||
@@ -166,7 +166,7 @@ public:
|
||||
Throw<std::runtime_error>(
|
||||
"Internal InnerObjectFormatsParsedJSON error. Bad JSON.");
|
||||
}
|
||||
STParsedJSONObject parsed("request", req);
|
||||
STParsedJSONObject const parsed("request", req);
|
||||
bool const noObj = !parsed.object.has_value();
|
||||
if (noObj == test.expectFail)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user