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)); }