Skip to content

Commit 831e9d3

Browse files
committed
Swap parameter order to match fmtlib#2327
1 parent 832ec09 commit 831e9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/module-test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ TEST(module_test, locale) {
224224
EXPECT_EQ("4.2", fmt::format(classic, "{:L}", 4.2));
225225
EXPECT_EQ("4.2", fmt::vformat(classic, "{:L}", store));
226226
std::string s;
227-
fmt::vformat_to(classic, std::back_inserter(s), "{:L}", store);
227+
fmt::vformat_to(std::back_inserter(s), classic, "{:L}", store);
228228
EXPECT_EQ("4.2", s);
229229
EXPECT_EQ("4.2", fmt::format("{:L}", 4.2));
230230
}

0 commit comments

Comments
 (0)