mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 11:14:41 +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);
|
||||
EXPECT_EQ(fmt::format("{}", mon), "Mon");
|
||||
if (loc != std::locale::classic()) {
|
||||
EXPECT_THAT((std::vector<std::string>{"пн", "Пн"}),
|
||||
EXPECT_THAT((std::vector<std::string>{"пн", "Пн", "пнд", "Пнд"}),
|
||||
Contains(fmt::format(loc, "{:L}", mon)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user