mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
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:
committed by
GitHub
parent
bd9e39ee85
commit
1e38ad5ec0
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user