mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-27 12:30:06 +00:00
Test exotic pointer formatting
This commit is contained in:
parent
bd8177177a
commit
f10a7e2e46
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user