style: clang-tidy auto fixes (#2013)

Fixes #2012. Please review and commit clang-tidy fixes.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-04-21 10:26:46 -04:00
committed by GitHub
parent bd9e39ee85
commit 1e38ad5ec0
4 changed files with 4 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ struct ResponseExpirationCacheTest : SyncAsioContextTest {
TEST_F(ResponseExpirationCacheTest, ShouldCacheDeterminesIfCommandIsCacheable)
{
std::unordered_set<std::string> cmds = {cmd, "account_info"};
std::unordered_set<std::string> const cmds = {cmd, "account_info"};
ResponseExpirationCache cache{std::chrono::seconds(10), cmds};
for (auto const& c : cmds) {
@@ -259,7 +259,7 @@ TEST_F(ResponseExpirationCacheTest, InvalidateForcesRefresh)
ResponseExpirationCache cache{std::chrono::seconds(10), {cmd}};
runSpawn([&](boost::asio::yield_context yield) {
boost::json::object oldObject = {{"some key", "old value"}};
boost::json::object const oldObject = {{"some key", "old value"}};
EXPECT_CALL(mockUpdater, Call)
.WillOnce(Return(ResponseExpirationCache::EntryData{
.lastUpdated = std::chrono::steady_clock::now(),