mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 10:28:09 +08:00
test: use normal string literal
as a workaround for older version of gcc
This commit is contained in:
@@ -180,11 +180,10 @@ BOOST_AUTO_TEST_CASE(test_comments_after_comma)
|
|||||||
a.push_back("foo");
|
a.push_back("foo");
|
||||||
a.push_back("bar");
|
a.push_back("bar");
|
||||||
a.push_back("baz");
|
a.push_back("baz");
|
||||||
TOML11_TEST_PARSE_EQUAL_VALUE(parse_value<toml::value>, R"([
|
TOML11_TEST_PARSE_EQUAL_VALUE(parse_value<toml::value>,
|
||||||
"foo" # comment
|
"[ \"foo\" # comment\n"
|
||||||
, "bar" # comment
|
", \"bar\" # comment\n"
|
||||||
, "baz" # comment
|
", \"baz\" # comment\n"
|
||||||
]
|
"]", toml::value(a));
|
||||||
)", toml::value(a));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user