mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
style: clang-tidy auto fixes (#2215)
This commit is contained in:
committed by
GitHub
parent
e44a058b13
commit
d0b2a24a30
@@ -397,7 +397,7 @@ TEST_F(ETLServiceTests, NormalFlowInMonitorSubscription)
|
||||
|
||||
service_.run();
|
||||
systemState_->isWriting = false;
|
||||
std::vector<data::LedgerObject> dummyDiff = {};
|
||||
std::vector<data::LedgerObject> const dummyDiff = {};
|
||||
|
||||
EXPECT_CALL(*backend_, fetchLedgerDiff(kSEQ + 1, testing::_)).WillOnce(testing::Return(dummyDiff));
|
||||
EXPECT_CALL(*cacheUpdater_, update(kSEQ + 1, testing::A<std::vector<data::LedgerObject> const&>()));
|
||||
|
||||
@@ -143,7 +143,7 @@ TEST_F(MonitorTests, ResumesMonitoringFromNextSequenceAfterWriteConflict)
|
||||
EXPECT_CALL(*ledgers_, subscribe(testing::_));
|
||||
|
||||
{
|
||||
testing::InSequence seq; // second call will produce conflict
|
||||
testing::InSequence const seq; // second call will produce conflict
|
||||
EXPECT_CALL(*backend_, hardFetchLedgerRange(testing::_)).WillOnce(testing::Return(rangeBeforeConflict));
|
||||
EXPECT_CALL(*backend_, hardFetchLedgerRange(testing::_)).WillRepeatedly(testing::Return(rangeAfterConflict));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user