mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Test exotic pointer formatting
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user