mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix locale name (thanks Mikhail Paulyshka)
This commit is contained in:
@ -18,7 +18,7 @@ using testing::Contains;
|
|||||||
TEST(unicode_test, is_utf8) { EXPECT_TRUE(fmt::detail::is_utf8()); }
|
TEST(unicode_test, is_utf8) { EXPECT_TRUE(fmt::detail::is_utf8()); }
|
||||||
|
|
||||||
TEST(unicode_test, legacy_locale) {
|
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;
|
if (loc == std::locale::classic()) return;
|
||||||
|
|
||||||
auto s = std::string();
|
auto s = std::string();
|
||||||
|
Reference in New Issue
Block a user