From c1d75dd4f71279d61f0a3ede4e7f30adc7db9c16 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Tue, 6 Sep 2011 01:05:14 -0500 Subject: [PATCH] Added notes about the two failing tests - that they're (I think) bugs in the YAML spec --- test/spectests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spectests.cpp b/test/spectests.cpp index f3f05bc..185c976 100644 --- a/test/spectests.cpp +++ b/test/spectests.cpp @@ -2032,7 +2032,7 @@ namespace Test { YAML_ASSERT(doc.size() == 3); YAML_ASSERT(doc["strip"].to() == "# text"); YAML_ASSERT(doc["clip"].to() == "# text\n"); - YAML_ASSERT(doc["keep"].to() == "# text\n"); + YAML_ASSERT(doc["keep"].to() == "# text\n"); // Note: I believe this is a bug in the YAML spec - it should be "# text\n\n" return true; } @@ -2290,7 +2290,7 @@ namespace Test { PARSE(doc, input); YAML_ASSERT(doc.size() == 2); - YAML_ASSERT(doc["literal"].to() == "value"); + YAML_ASSERT(doc["literal"].to() == "value"); // Note: I believe this is a bug in the YAML spec - it should be "value\n" YAML_ASSERT(doc["folded"].to() == "value"); YAML_ASSERT(doc["folded"].Tag() == "!foo"); return true;