Refactored the compact map notation, which made it easy to implement explicit keys for compact maps

This commit is contained in:
jbeder
2009-10-29 22:09:50 +00:00
parent 7c4a8dad85
commit 08ac48518f
4 changed files with 8 additions and 20 deletions

View File

@@ -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;
}