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;