mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-05 21:54:44 +02:00
Check output.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user