Update format_to taking a buffer and remove undocumented vformat_to overload

This commit is contained in:
Victor Zverovich
2021-05-30 07:57:51 -07:00
parent 832ec098fc
commit 11a14db286
5 changed files with 19 additions and 26 deletions
-6
View File
@@ -42,12 +42,6 @@ TEST(wchar_test, vformat_to) {
EXPECT_EQ(L"42", w);
}
TEST(wchar_test, format_to_memory_buffer) {
auto buf = fmt::wmemory_buffer();
fmt::format_to(buf, L"{}", L"foo");
EXPECT_EQ(L"foo", to_string(buf));
}
TEST(format_test, wide_format_to_n) {
wchar_t buffer[4];
buffer[3] = L'x';