Skip to content

Commit

Permalink
add test to ensure #422
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Apr 4, 2024
1 parent 4c6e34c commit 35d2445
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion test/test_scalar_plain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,26 @@ foo
N(DOC|VP, "foo"),
})
);
}

ADD_CASE_TO_GROUP("plain scalar, issue 422",
R"(hello world, whats up?
it's a me, mario,
bla,
asd
)",
N(VP, "hello world, whats up? it's a me, mario, bla, asd")
);

ADD_CASE_TO_GROUP("plain scalar, issue 422, 2",
R"(hello world, whats up?
it's a me, mario,
bla,
asd
)",
N(VP, "hello world, whats up? it's a me, mario, bla, asd")
);

} // CASE_GROUP(PLAIN_SCALAR)

} // namespace yml
} // namespace c4

0 comments on commit 35d2445

Please sign in to comment.