aboutsummaryrefslogtreecommitdiff
path: root/src/test/LoopTimerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/LoopTimerTest.cpp')
-rw-r--r--src/test/LoopTimerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/LoopTimerTest.cpp b/src/test/LoopTimerTest.cpp
index 1216e5e..e4f8477 100644
--- a/src/test/LoopTimerTest.cpp
+++ b/src/test/LoopTimerTest.cpp
@@ -68,8 +68,8 @@ TEST_F(LoopTimerTest, getCurrentTime) {
auto end_time = steady_clock::now();
// Get the elapsed time in seconds as a double
- auto elapsed_time = std::chrono::duration_cast<ElapsedTime_t>(end_time - start_time).count();
-
+ auto elapsed_time
+ = std::chrono::duration_cast<ElapsedTime_t>(end_time - start_time).count();
ASSERT_NEAR(loop_timer.get_elapsed_time().count(), elapsed_time, 5);
}