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

This commit is contained in:
Jesse Beder
2009-10-29 22:09:50 +00:00
parent d372729b92
commit 3405a6fe01
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;
}