Check output.

This commit is contained in:
Victor Zverovich 2014-04-09 08:27:51 -07:00
parent 5f9574c3c1
commit 648dba0a78

View File

@ -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) {