From 1d8f870e0c19d480a57813d34fdb974780199564 Mon Sep 17 00:00:00 2001 From: theamarin Date: Sun, 4 Jul 2021 15:29:32 +0200 Subject: [PATCH] Add Value to test for literals without trailing spaces --- test/integration/emitter_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/emitter_test.cpp b/test/integration/emitter_test.cpp index e65c011..f1d6308 100644 --- a/test/integration/emitter_test.cpp +++ b/test/integration/emitter_test.cpp @@ -385,7 +385,7 @@ TEST_F(EmitterTest, ScalarFormat) { TEST_F(EmitterTest, LiteralWithoutTrailingSpaces) { out << YAML::BeginMap; out << YAML::Key << "key"; - out << YAML::Literal; + out << YAML::Value << YAML::Literal; out << "expect that with two newlines\n\n" "no spaces are emitted in the empty line"; out << YAML::EndMap;