mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
[CI] clang-tidy auto fixes (#1270)
Fixes #1269. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss <kuznetsss@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a1243da956
commit
94706bfff9
@@ -58,6 +58,6 @@ TEST_F(BoolTests, Get)
|
||||
TEST_F(BoolTests, DefaultValues)
|
||||
{
|
||||
GaugeInt gauge{"test", ""};
|
||||
Bool realBool{gauge};
|
||||
Bool const realBool{gauge};
|
||||
EXPECT_FALSE(realBool);
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ TEST_F(GaugeIntTests, multithreadAddAndSubstract)
|
||||
|
||||
TEST_F(GaugeIntTests, DefaultValue)
|
||||
{
|
||||
GaugeInt realGauge{"some_gauge", ""};
|
||||
GaugeInt const realGauge{"some_gauge", ""};
|
||||
EXPECT_EQ(realGauge.value(), 0);
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ struct GaugeDoubleTests : ::testing::Test {
|
||||
|
||||
TEST_F(GaugeDoubleTests, DefaultValue)
|
||||
{
|
||||
GaugeDouble realGauge{"some_gauge", ""};
|
||||
GaugeDouble const realGauge{"some_gauge", ""};
|
||||
EXPECT_EQ(realGauge.value(), 0.);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user