mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 09:16:47 +00:00
fix clang-tidy error
This commit is contained in:
@@ -561,7 +561,8 @@ TEST_F(AmendmentTableTest, has_unsupported_enabled)
|
||||
|
||||
table->doValidatedLedger(1, enabled, majority);
|
||||
EXPECT_TRUE(table->hasUnsupportedEnabled());
|
||||
EXPECT_TRUE(table->firstUnsupportedExpected());
|
||||
ASSERT_TRUE(table->firstUnsupportedExpected());
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access) checked in ASSERT_TRUE above
|
||||
EXPECT_EQ(*table->firstUnsupportedExpected(), NetClock::time_point{t} + kW);
|
||||
|
||||
// Make sure the table knows when it needs an update.
|
||||
|
||||
Reference in New Issue
Block a user