mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 19:56:00 +00:00
style: clang-tidy auto fixes (#1786)
Fixes #1785. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3c4903a339
commit
15a441b084
@@ -24,7 +24,6 @@
|
||||
#include "util/newconfig/Types.hpp"
|
||||
|
||||
#include <boost/json/parse.hpp>
|
||||
#include <fmt/core.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
constexpr static auto DEFAULT_API_VERSION = 5u;
|
||||
@@ -96,7 +95,7 @@ TEST_F(RPCAPIVersionTest, ReturnsParsedVersionIfAllPreconditionsAreMet)
|
||||
|
||||
TEST_F(RPCAPIVersionTest, GetsValuesFromConfigCorrectly)
|
||||
{
|
||||
ClioConfigDefinition cfg{
|
||||
ClioConfigDefinition const cfg{
|
||||
{"api_version.min", ConfigValue{ConfigType::Integer}.defaultValue(MIN_API_VERSION)},
|
||||
{"api_version.max", ConfigValue{ConfigType::Integer}.defaultValue(MAX_API_VERSION)},
|
||||
{"api_version.default", ConfigValue{ConfigType::Integer}.defaultValue(DEFAULT_API_VERSION)}
|
||||
|
||||
Reference in New Issue
Block a user