"...composable_kernel.git" did not exist on "96e212c156d82b9c3723561fdecc6d54366e7064"
Commit bfb5703c authored by Jesse Beder's avatar Jesse Beder
Browse files

Add test to verify that ~ is loaded as null.

parent cc229e87
...@@ -226,5 +226,10 @@ TEST(NodeTest, IncompleteJson) { ...@@ -226,5 +226,10 @@ TEST(NodeTest, IncompleteJson) {
} }
} }
TEST(NodeTest, LoadTildeAsNull) {
Node node = Load("~");
ASSERT_TRUE(node.IsNull());
}
} // namespace } // namespace
} // namespace YAML } // 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