mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: Update pre-commit hooks (#2290)
Update versions of pre-commit hooks to latest version. Co-authored-by: mathbunnyru <12270691+mathbunnyru@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1fe323190a
commit
cc506fd094
@@ -107,13 +107,15 @@ struct MockPrometheusImpl : PrometheusInterface {
|
||||
});
|
||||
EXPECT_CALL(*this, histogramInt)
|
||||
.WillRepeatedly(
|
||||
[this](std::string name, Labels labels, std::vector<std::int64_t> const&, std::optional<std::string>)
|
||||
-> HistogramInt& { return getMetric<HistogramInt>(std::move(name), std::move(labels)); }
|
||||
[this](
|
||||
std::string name, Labels labels, std::vector<std::int64_t> const&, std::optional<std::string>
|
||||
) -> HistogramInt& { return getMetric<HistogramInt>(std::move(name), std::move(labels)); }
|
||||
);
|
||||
EXPECT_CALL(*this, histogramDouble)
|
||||
.WillRepeatedly(
|
||||
[this](std::string name, Labels labels, std::vector<double> const&, std::optional<std::string>)
|
||||
-> HistogramDouble& { return getMetric<HistogramDouble>(std::move(name), std::move(labels)); }
|
||||
[this](
|
||||
std::string name, Labels labels, std::vector<double> const&, std::optional<std::string>
|
||||
) -> HistogramDouble& { return getMetric<HistogramDouble>(std::move(name), std::move(labels)); }
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user