chore: Fix clang-tidy issues after introducing new checks (#3061)

This commit is contained in:
Alex Kremer
2026-05-05 15:21:54 +01:00
committed by GitHub
parent 5fe7c4407b
commit e96ef39857
10 changed files with 122 additions and 73 deletions

View File

@@ -138,7 +138,10 @@ TEST_F(BackendCassandraFactoryTestWithDB, CreateCassandraBackend)
EXPECT_TRUE(backend);
auto const range = backend->fetchLedgerRange();
ASSERT_TRUE(range.has_value());
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
EXPECT_EQ(range->minSequence, 100);
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
EXPECT_EQ(range->maxSequence, 500);
}
}