Add Value to test for literals without trailing spaces

This commit is contained in:
theamarin 2021-07-04 15:29:32 +02:00
parent 961e4aede9
commit 1d8f870e0c

View File

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