fix: string literal line separator escape

This commit is contained in:
MihailRis
2024-10-13 10:16:17 +03:00
parent 2f7fbd57ee
commit 9667b81438
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ inline std::string SRC_EXAMPLE =
"\n"
"[servers.beta]\n"
"ip = \"10.0.0.2\"\n"
"role = \"\"\"backend\"\"\"";
"role = \"\"\"back\\\n"
"end\"\"\"";
TEST(TOML, ExampleCode) {
try {