Skip to content

Commit

Permalink
style: clang-tidy auto fixes (#1720)
Browse files Browse the repository at this point in the history
Fixes #1719. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <[email protected]>
  • Loading branch information
github-actions[bot] and kuznetsss authored Nov 8, 2024
1 parent c435466 commit e6cdb14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/etlng/RegistryTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ TEST_F(RegistryTest, InitialObjectsCorrectOrderOfHookCalls)
auto extObjs = MockExtInitialObjects{};
auto extObj = MockExtInitialObject{};

testing::InSequence seqGuard;
testing::InSequence const seqGuard;
EXPECT_CALL(extObjs, onInitialObjects);
EXPECT_CALL(extObj, onInitialObject).Times(3);

Expand All @@ -476,7 +476,7 @@ TEST_F(RegistryTest, InitialDataCorrectOrderOfHookCalls)
CreateTransaction(ripple::TxType::ttNFTOKEN_CREATE_OFFER),
};

testing::InSequence seqGuard;
testing::InSequence const seqGuard;
EXPECT_CALL(extInitialData, onInitialData);
EXPECT_CALL(extInitialTransaction, onInitialTransaction).Times(2);

Expand Down Expand Up @@ -510,7 +510,7 @@ TEST_F(RegistryTest, LedgerDataCorrectOrderOfHookCalls)
};

// testing::Sequence seq;
testing::InSequence seqGuard;
testing::InSequence const seqGuard;
EXPECT_CALL(extLedgerData, onLedgerData);
EXPECT_CALL(extOnTransaction, onTransaction).Times(2);
EXPECT_CALL(extOnObject, onObject).Times(3);
Expand Down

0 comments on commit e6cdb14

Please sign in to comment.