diff --git a/test/format-test.cc b/test/format-test.cc index 65f9d298..b3001255 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -706,6 +706,7 @@ TEST(WriterTest, WriteUIntPtr) { fmt::writer writer(buf); writer.write_pointer(fmt::internal::bit_cast( reinterpret_cast(0xface)), FMT_NULL); + EXPECT_EQ("0xface", to_string(buf)); } TEST(FormatToTest, FormatWithoutArgs) {