mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 08:46:42 +00:00
chore: Fix clang-tidy issues after introducing new checks (#3061)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user