From 648dba0a78f9e1afea741f841ab9dbe7bcc9fe65 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 9 Apr 2014 08:27:51 -0700 Subject: [PATCH] Check output. --- format-test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/format-test.cc b/format-test.cc index 452f0999..07016c41 100644 --- a/format-test.cc +++ b/format-test.cc @@ -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) {