From ba4c7f193b3a9b9cbfbb1781320145bf0cc638e1 Mon Sep 17 00:00:00 2001 From: Daniela Engert Date: Mon, 31 May 2021 16:44:33 +0200 Subject: [PATCH] Swap parameter order to match #2327 (#2329) --- test/module-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/module-test.cc b/test/module-test.cc index 63547683..dad1f5cd 100644 --- a/test/module-test.cc +++ b/test/module-test.cc @@ -224,7 +224,7 @@ TEST(module_test, locale) { EXPECT_EQ("4.2", fmt::format(classic, "{:L}", 4.2)); EXPECT_EQ("4.2", fmt::vformat(classic, "{:L}", store)); 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", fmt::format("{:L}", 4.2)); }