mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 11:27:40 +00:00
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)),
|
||||
"00.142857");
|
||||
|
||||
EXPECT_EQ(fmt::format("{:%S}",
|
||||
std::chrono::duration<char, std::ratio<1, 100>>(0x80)),
|
||||
"-01.28");
|
||||
EXPECT_EQ(
|
||||
fmt::format("{:%S}",
|
||||
std::chrono::duration<signed char, std::ratio<1, 100>>(0x80)),
|
||||
"-01.28");
|
||||
|
||||
EXPECT_EQ(
|
||||
fmt::format("{:%M:%S}",
|
||||
|
Loading…
Reference in New Issue
Block a user