mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-14 07:09:26 -04: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)
|
for (int i = 0; i < fmt::internal::INLINE_BUFFER_SIZE; ++i)
|
||||||
writer << ' ';
|
writer << ' ';
|
||||||
writer << 1.2;
|
writer << 1.2;
|
||||||
|
EXPECT_STREQ("1.2", writer.c_str() + fmt::internal::INLINE_BUFFER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(WriterTest, WriteChar) {
|
TEST(WriterTest, WriteChar) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user