From 4b5f2570e9208bc9311267e93401d6078370807a Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 14 Jan 2014 18:25:55 +0100 Subject: [PATCH] common: fix bufferlist::append(istream) test bufferlist::append(istream) now filters out empty lines; reflect this in the test Signed-off-by: Loic Dachary --- src/test/bufferlist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/bufferlist.cc b/src/test/bufferlist.cc index 3809ba15da1..506a0c6ab59 100644 --- a/src/test/bufferlist.cc +++ b/src/test/bufferlist.cc @@ -1616,7 +1616,7 @@ TEST(BufferList, append) { // { bufferlist bl; - std::string expected("ABC\n\nDEF\n"); + std::string expected("ABC\nDEF\n"); std::istringstream is("ABC\n\nDEF"); bl.append(is); EXPECT_EQ(0, ::memcmp(expected.c_str(), bl.c_str(), expected.size()));