Commit bfb5703c by Jesse Beder

Add test to verify that ~ is loaded as null.

parent cc229e87
......@@ -226,5 +226,10 @@ TEST(NodeTest, IncompleteJson) {
}
}
TEST(NodeTest, LoadTildeAsNull) {
Node node = Load("~");
ASSERT_TRUE(node.IsNull());
}
} // namespace
} // namespace YAML
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment