From bc884061e2a1c113e57205d6c610681f3706823a Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Tue, 22 May 2012 16:49:09 -0500 Subject: [PATCH] Fixed some newline/comma tests --- test/emittertests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/emittertests.cpp b/test/emittertests.cpp index 6e38b1c..b585287 100644 --- a/test/emittertests.cpp +++ b/test/emittertests.cpp @@ -551,7 +551,7 @@ namespace Test out << YAML::Key << "baz" << YAML::Value << "baz value" << YAML::Comment("baz!"); out << YAML::EndMap; - desiredOutput = "{foo: foo value, bar: bar value, # bar!\nbaz: baz value # baz!\n}"; + desiredOutput = "{foo: foo value, bar: bar value, # bar!\nbaz: baz value, # baz!\n}"; } void Indentation(YAML::Emitter& out, std::string& desiredOutput) @@ -598,7 +598,7 @@ namespace Test out << YAML::EndMap; out << YAML::EndSeq; - desiredOutput = "- key 1: value 1\n key 2: [a, b, c]\n- ? [1, 2]\n :\n a: b"; + desiredOutput = "- key 1: value 1\n key 2: [a, b, c]\n- [1, 2]:\n a: b"; } void Null(YAML::Emitter& out, std::string& desiredOutput)