one more check in test
This commit is contained in:
parent
2510d8cfa4
commit
f1b3337bc1
@ -4,13 +4,14 @@
|
|||||||
|
|
||||||
using YAML::Parser;
|
using YAML::Parser;
|
||||||
using YAML::MockEventHandler;
|
using YAML::MockEventHandler;
|
||||||
|
using ::testing::StrictMock;
|
||||||
|
|
||||||
TEST(ParserTest, Empty) {
|
TEST(ParserTest, Empty) {
|
||||||
Parser parser;
|
Parser parser;
|
||||||
|
|
||||||
EXPECT_FALSE(parser);
|
EXPECT_FALSE(parser);
|
||||||
|
|
||||||
MockEventHandler handler;
|
StrictMock<MockEventHandler> handler;
|
||||||
EXPECT_FALSE(parser.HandleNextDocument(handler));
|
EXPECT_FALSE(parser.HandleNextDocument(handler));
|
||||||
|
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user