diff --git a/test/xchar-test.cc b/test/xchar-test.cc index fb7aa8c7..164c7778 100644 --- a/test/xchar-test.cc +++ b/test/xchar-test.cc @@ -476,7 +476,6 @@ TEST(locale_test, wformat) { auto loc = std::locale(std::locale(), new numpunct()); EXPECT_EQ(L"1234567", fmt::format(std::locale(), L"{:L}", 1234567)); EXPECT_EQ(L"1~234~567", fmt::format(loc, L"{:L}", 1234567)); - using wcontext = fmt::buffer_context; int n = 1234567; EXPECT_EQ(L"1~234~567", fmt::vformat(loc, L"{:L}", fmt::make_wformat_args(n)));