From f6276a2c2b76c54c3a659d5fee5557c7bec95a0c Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Wed, 22 Mar 2023 23:34:59 +0500 Subject: [PATCH] Force use a signed char (On ARM char is unsigned by default) (#3362) Signed-off-by: Vladislav Shchapov --- test/chrono-test.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/chrono-test.cc b/test/chrono-test.cc index c7edaff2b185..8e2772fa0f63 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -820,9 +820,10 @@ TEST(chrono_test, cpp20_duration_subsecond_support) { std::chrono::duration>(1)), "00.142857"); - EXPECT_EQ(fmt::format("{:%S}", - std::chrono::duration>(0x80)), - "-01.28"); + EXPECT_EQ( + fmt::format("{:%S}", + std::chrono::duration>(0x80)), + "-01.28"); EXPECT_EQ( fmt::format("{:%M:%S}",