Fix or suppress clang-tidy warnings (#8254)

This commit is contained in:
Tyler Veness
2025-09-25 21:28:04 -07:00
committed by GitHub
parent 5003939b64
commit ab53d51c6f
28 changed files with 62 additions and 56 deletions

View File

@@ -171,8 +171,9 @@ TEST_F(DIOLoopTest, SynchronousInterruptWorks) {
timer.Start();
interrupt.WaitForInterrupt(kSynchronousInterruptTime + 1_s);
auto time = timer.Get().value();
if (thr.joinable())
if (thr.joinable()) {
thr.join();
}
EXPECT_NEAR(kSynchronousInterruptTime.value(), time,
kSynchronousInterruptTimeTolerance.value());
}