From f1b3337bc128f2250811b5384dc1358f492238aa Mon Sep 17 00:00:00 2001 From: hyperxor Date: Sat, 23 Nov 2019 21:36:14 +0300 Subject: [PATCH] one more check in test --- test/parser_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parser_test.cpp b/test/parser_test.cpp index 63c95b6..8b45911 100644 --- a/test/parser_test.cpp +++ b/test/parser_test.cpp @@ -4,13 +4,14 @@ using YAML::Parser; using YAML::MockEventHandler; +using ::testing::StrictMock; TEST(ParserTest, Empty) { Parser parser; EXPECT_FALSE(parser); - MockEventHandler handler; + StrictMock handler; EXPECT_FALSE(parser.HandleNextDocument(handler)); std::ostringstream oss;