From 541cd218381493728241fcc690e8c362434a37ea Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 20 Aug 2022 08:06:20 -0700 Subject: [PATCH] Fix locale name (thanks Mikhail Paulyshka) --- test/unicode-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unicode-test.cc b/test/unicode-test.cc index 537dfbc5..e9ea5e5e 100644 --- a/test/unicode-test.cc +++ b/test/unicode-test.cc @@ -18,7 +18,7 @@ using testing::Contains; TEST(unicode_test, is_utf8) { EXPECT_TRUE(fmt::detail::is_utf8()); } TEST(unicode_test, legacy_locale) { - auto loc = get_locale("be_BY.CP1251", "Belarussian_Belarus.1251"); + auto loc = get_locale("be_BY.CP1251", "Belarusian_Belarus.1251"); if (loc == std::locale::classic()) return; auto s = std::string();