mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Fix or suppress clang-tidy warnings (#8254)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user