Commit f6b5cc9f authored by Владислав Щапов's avatar Владислав Щапов Committed by Victor Zverovich

Fix chrono_test.weekday on legacy glibc

parent 59a298f1
...@@ -376,7 +376,7 @@ TEST(chrono_test, weekday) { ...@@ -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)));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment