Test exotic pointer formatting

This commit is contained in:
Victor Zverovich 2019-04-06 09:04:44 -07:00
parent bd8177177a
commit f10a7e2e46

View File

@ -706,6 +706,7 @@ TEST(WriterTest, WriteUIntPtr) {
fmt::writer writer(buf);
writer.write_pointer(fmt::internal::bit_cast<fmt::internal::uintptr_t>(
reinterpret_cast<void*>(0xface)), FMT_NULL);
EXPECT_EQ("0xface", to_string(buf));
}
TEST(FormatToTest, FormatWithoutArgs) {