From f6b5cc9f840a4377868f2702d28e292fc8487634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A9=D0=B0=D0=BF=D0=BE=D0=B2?= Date: Thu, 10 Jun 2021 23:44:47 +0500 Subject: [PATCH] Fix chrono_test.weekday on legacy glibc --- test/chrono-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chrono-test.cc b/test/chrono-test.cc index 6bc2cdb0..3ba9557c 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -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{"пн", "Пн"}), + EXPECT_THAT((std::vector{"пн", "Пн", "пнд", "Пнд"}), Contains(fmt::format(loc, "{:L}", mon))); } }