Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and tcarmelveilleux committed Jul 19, 2024
1 parent 1946a0c commit c9a88c0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ TEST(TestQuieterReporting, SufficientChangePredicateWorks)
EXPECT_EQ(attribute.value().ValueOr(INT_MAX), 14);

// Forcing dirty can NOT done with a force-true predicate.
decltype(attribute)::SufficientChangePredicate forceTruePredicate{[](const decltype(attribute)::SufficientChangePredicateCandidate &) -> bool { return true; }};
decltype(attribute)::SufficientChangePredicate forceTruePredicate{
[](const decltype(attribute)::SufficientChangePredicateCandidate &) -> bool { return true; }
};
now = fakeClock.Advance(1_ms);
EXPECT_EQ(attribute.SetValue(12, now, forceTruePredicate), AttributeDirtyState::kNoReportNeeded);
EXPECT_EQ(attribute.value().ValueOr(INT_MAX), 12);
Expand All @@ -267,6 +269,4 @@ TEST(TestQuieterReporting, SufficientChangePredicateWorks)
now = fakeClock.Advance(1000_ms);
EXPECT_EQ(attribute.SetValue(NullNullable, now, predicate), AttributeDirtyState::kNoReportNeeded);
EXPECT_TRUE(attribute.value().IsNull());


}

0 comments on commit c9a88c0

Please sign in to comment.