change type naming and fix sfinae bug

This commit is contained in:
XZiar
2018-10-26 20:32:24 -07:00
committed by Victor Zverovich
parent b98e8301d5
commit 2dea780fbd
3 changed files with 12 additions and 12 deletions

View File

@@ -2380,8 +2380,8 @@ TEST(FormatTest, VFormatTo) {
fmt::vformat_to(std::back_inserter(w), L"{}", wargs);
EXPECT_EQ(L"42", w);
w.clear();
fmt::vformat_to(std::back_inserter(w), FMT_STRING(L"{}"), args);
EXPECT_EQ("42", w);
fmt::vformat_to(std::back_inserter(w), FMT_STRING(L"{}"), wargs);
EXPECT_EQ(L"42", w);
}
#endif // FMT_USE_CONSTEXPR