Swap parameter order to match #2327 (#2329)

This commit is contained in:
Daniela Engert 2021-05-31 16:44:33 +02:00 committed by GitHub
parent e9e89b355b
commit ba4c7f193b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
} }