Commit f10a7e2e authored by Victor Zverovich's avatar Victor Zverovich

Test exotic pointer formatting

parent bd817717
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment