mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-30 08:35:52 +00:00
style: clang-tidy auto fixes (#2420)
This commit is contained in:
committed by
GitHub
parent
9420c506ca
commit
333b73e882
@@ -20,8 +20,6 @@
|
||||
#include "util/LoggerFixtures.hpp"
|
||||
#include "util/log/Logger.hpp"
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -27,6 +27,6 @@ TEST(ScopeGuardTest, IsCalled)
|
||||
testing::StrictMock<testing::MockFunction<void()>> mockFunction;
|
||||
EXPECT_CALL(mockFunction, Call());
|
||||
{
|
||||
util::ScopeGuard guard([&mockFunction] { mockFunction.Call(); });
|
||||
util::ScopeGuard const guard([&mockFunction] { mockFunction.Call(); });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user