Add Value to test for literals without trailing spaces
This commit is contained in:
parent
961e4aede9
commit
1d8f870e0c
@ -385,7 +385,7 @@ TEST_F(EmitterTest, ScalarFormat) {
|
|||||||
TEST_F(EmitterTest, LiteralWithoutTrailingSpaces) {
|
TEST_F(EmitterTest, LiteralWithoutTrailingSpaces) {
|
||||||
out << YAML::BeginMap;
|
out << YAML::BeginMap;
|
||||||
out << YAML::Key << "key";
|
out << YAML::Key << "key";
|
||||||
out << YAML::Literal;
|
out << YAML::Value << YAML::Literal;
|
||||||
out << "expect that with two newlines\n\n"
|
out << "expect that with two newlines\n\n"
|
||||||
"no spaces are emitted in the empty line";
|
"no spaces are emitted in the empty line";
|
||||||
out << YAML::EndMap;
|
out << YAML::EndMap;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user