Skip to content

Commit

Permalink
Fix locale name (thanks Mikhail Paulyshka)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Aug 20, 2022
1 parent 1f95c34 commit 541cd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unicode-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 541cd21

Please sign in to comment.