Now making sure that the tests pass with no output
This commit is contained in:
parent
1badd67f1c
commit
e70f068243
@ -45,4 +45,5 @@ if (NOT DEFINED CMAKE_CXX_STANDARD)
|
||||
set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 11)
|
||||
endif()
|
||||
|
||||
|
||||
add_test(yaml-cpp::test yaml-cpp-tests)
|
||||
|
||||
@ -25,7 +25,7 @@ namespace {
|
||||
TEST(NodeTest, SimpleScalar) {
|
||||
Node node = Node("Hello, World!");
|
||||
EXPECT_TRUE(node.IsScalar());
|
||||
EXPECT_EQ("Hello, World!!", node.as<std::string>());
|
||||
EXPECT_EQ("Hello, World!", node.as<std::string>());
|
||||
}
|
||||
|
||||
TEST(NodeTest, IntScalar) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user