Fix chrono_test.weekday on legacy glibc

This commit is contained in:
Владислав Щапов 2021-06-10 23:44:47 +05:00 committed by Victor Zverovich
parent 59a298f124
commit f6b5cc9f84

View File

@ -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)));
}
}