mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-07 13:20:05 +00:00
Fix chrono_test.weekday on legacy glibc
This commit is contained in:
parent
59a298f124
commit
f6b5cc9f84
@ -376,7 +376,7 @@ TEST(chrono_test, weekday) {
|
|||||||
auto mon = fmt::weekday(1);
|
auto mon = fmt::weekday(1);
|
||||||
EXPECT_EQ(fmt::format("{}", mon), "Mon");
|
EXPECT_EQ(fmt::format("{}", mon), "Mon");
|
||||||
if (loc != std::locale::classic()) {
|
if (loc != std::locale::classic()) {
|
||||||
EXPECT_THAT((std::vector<std::string>{"пн", "Пн"}),
|
EXPECT_THAT((std::vector<std::string>{"пн", "Пн", "пнд", "Пнд"}),
|
||||||
Contains(fmt::format(loc, "{:L}", mon)));
|
Contains(fmt::format(loc, "{:L}", mon)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user