mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 00:36:44 +00:00
chore: Fix clang-tidy issues after introducing new checks (#3061)
This commit is contained in:
@@ -196,6 +196,7 @@ TEST_F(PrometheusHandleRequestTests, responseWithCounterAndGauge)
|
||||
|
||||
auto response = handlePrometheusRequest(req, true);
|
||||
|
||||
ASSERT_TRUE(response.has_value());
|
||||
EXPECT_EQ(response->result(), http::status::ok); // NOLINT(bugprone-unchecked-optional-access)
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
|
||||
EXPECT_EQ(response->operator[](http::field::content_type), "text/plain; version=0.0.4");
|
||||
|
||||
Reference in New Issue
Block a user