Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
bfb5703c
"...composable_kernel.git" did not exist on "96e212c156d82b9c3723561fdecc6d54366e7064"
Commit
bfb5703c
authored
Apr 01, 2016
by
Jesse Beder
Browse files
Add test to verify that ~ is loaded as null.
parent
cc229e87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
test/integration/load_node_test.cpp
test/integration/load_node_test.cpp
+5
-0
No files found.
test/integration/load_node_test.cpp
View file @
bfb5703c
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment