mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 17:10:46 +00:00
(hopefully) fix clang-tidy
This commit is contained in:
@@ -741,8 +741,8 @@ class LedgerRPC_test : public beast::unit_test::Suite
|
||||
BEAST_EXPECT(txns[i].isMember(jss::ctid));
|
||||
auto const expectedCtid =
|
||||
RPC::encodeCTID(jrr[jss::ledger][jss::ledger_index].asUInt(), i, netID);
|
||||
BEAST_EXPECT(expectedCtid.has_value());
|
||||
BEAST_EXPECT(txns[i][jss::ctid] == *expectedCtid);
|
||||
if (BEAST_EXPECT(expectedCtid.has_value()))
|
||||
BEAST_EXPECT(txns[i][jss::ctid] == *expectedCtid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user