mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 08:46:42 +00:00
chore: Enable more clang-tidy checks (#3054)
This commit is contained in:
@@ -21,7 +21,7 @@ TEST_F(ResponseExpirationCacheTests, PutAndGetNotExpired)
|
||||
cache_.put("key", object_);
|
||||
auto result = cache_.get("key");
|
||||
ASSERT_TRUE(result.has_value());
|
||||
EXPECT_EQ(*result, object_);
|
||||
EXPECT_EQ(*result, object_); // NOLINT(bugprone-unchecked-optional-access)
|
||||
result = cache_.get("key2");
|
||||
ASSERT_FALSE(result.has_value());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user