From 74588ff582aaea0362b24979b0824e6cec9e742e Mon Sep 17 00:00:00 2001 From: hyperxor Date: Sat, 23 Nov 2019 22:03:44 +0300 Subject: [PATCH] fix --- test/parser_test.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/parser_test.cpp b/test/parser_test.cpp index b9c22eb..edd699e 100644 --- a/test/parser_test.cpp +++ b/test/parser_test.cpp @@ -12,10 +12,5 @@ TEST(ParserTest, Empty) { EXPECT_FALSE(parser); StrictMock handler; - parser.HandleNextDocument(handler); - - std::ostringstream oss; - parser.PrintTokens(oss); - - EXPECT_EQ(oss.str(), ""); + EXPECT_FALSE(parser.HandleNextDocument(handler)); }