Unverified Commit ba4c7f19 authored by Daniela Engert's avatar Daniela Engert Committed by GitHub

Swap parameter order to match #2327 (#2329)

parent e9e89b35
...@@ -224,7 +224,7 @@ TEST(module_test, locale) { ...@@ -224,7 +224,7 @@ TEST(module_test, locale) {
EXPECT_EQ("4.2", fmt::format(classic, "{:L}", 4.2)); EXPECT_EQ("4.2", fmt::format(classic, "{:L}", 4.2));
EXPECT_EQ("4.2", fmt::vformat(classic, "{:L}", store)); EXPECT_EQ("4.2", fmt::vformat(classic, "{:L}", store));
std::string s; std::string s;
fmt::vformat_to(classic, std::back_inserter(s), "{:L}", store); fmt::vformat_to(std::back_inserter(s), classic, "{:L}", store);
EXPECT_EQ("4.2", s); EXPECT_EQ("4.2", s);
EXPECT_EQ("4.2", fmt::format("{:L}", 4.2)); EXPECT_EQ("4.2", fmt::format("{:L}", 4.2));
} }
......
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