mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Check output.
This commit is contained in:
parent
5f9574c3c1
commit
648dba0a78
@ -334,6 +334,7 @@ TEST(WriterTest, WriteDoubleWithFilledBuffer) {
|
||||
for (int i = 0; i < fmt::internal::INLINE_BUFFER_SIZE; ++i)
|
||||
writer << ' ';
|
||||
writer << 1.2;
|
||||
EXPECT_STREQ("1.2", writer.c_str() + fmt::internal::INLINE_BUFFER_SIZE);
|
||||
}
|
||||
|
||||
TEST(WriterTest, WriteChar) {
|
||||
|
Loading…
Reference in New Issue
Block a user