From 096363aab0db33d6874a821b94bde7dc628c1f08 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Tue, 18 Mar 2025 09:10:09 -0700 Subject: [PATCH] Fix flaky CBOR test --- tests/CborTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CborTest.cpp b/tests/CborTest.cpp index f6fa95370..797b778de 100644 --- a/tests/CborTest.cpp +++ b/tests/CborTest.cpp @@ -184,8 +184,8 @@ static int s_decode_timestamp_helper(Cbor::CborDecoder &decoder, std::chrono::sy { double double_val = decoder.PopNextFloatVal().value(); std::chrono::duration timestamp(double_val); - outTimePoint = - std::chrono::system_clock::time_point(std::chrono::duration_cast(timestamp)); + outTimePoint = std::chrono::system_clock::time_point( + std::chrono::duration_cast(timestamp)); return AWS_OP_SUCCESS; } default: