mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Refactored the compact map notation, which made it easy to implement explicit keys for compact maps
This commit is contained in:
@@ -1781,7 +1781,7 @@ namespace Test {
|
||||
PARSE(doc, input);
|
||||
YAML_ASSERT(doc.size() == 1);
|
||||
YAML_ASSERT(doc[0].size() == 1);
|
||||
YAML_ASSERT(doc[0]["foo"] == "bar");
|
||||
YAML_ASSERT(doc[0]["foo bar"] == "baz");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user