Force use a signed char (On ARM char is unsigned by default) (#3362)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
6002ddf825
commit
f6276a2c2b
@ -820,9 +820,10 @@ TEST(chrono_test, cpp20_duration_subsecond_support) {
|
|||||||
std::chrono::duration<long long, std::ratio<1, 7>>(1)),
|
std::chrono::duration<long long, std::ratio<1, 7>>(1)),
|
||||||
"00.142857");
|
"00.142857");
|
||||||
|
|
||||||
EXPECT_EQ(fmt::format("{:%S}",
|
EXPECT_EQ(
|
||||||
std::chrono::duration<char, std::ratio<1, 100>>(0x80)),
|
fmt::format("{:%S}",
|
||||||
"-01.28");
|
std::chrono::duration<signed char, std::ratio<1, 100>>(0x80)),
|
||||||
|
"-01.28");
|
||||||
|
|
||||||
EXPECT_EQ(
|
EXPECT_EQ(
|
||||||
fmt::format("{:%M:%S}",
|
fmt::format("{:%M:%S}",
|
||||||
|
Loading…
Reference in New Issue
Block a user