mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-09 14:20:06 +00:00
test: explicitly specify if comments are preserved
This commit is contained in:
parent
b51ef5e869
commit
beb665ba58
@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(test_discard_comment)
|
||||
)";
|
||||
|
||||
std::istringstream iss(file);
|
||||
const auto v = toml::parse(iss);
|
||||
const auto v = toml::parse<toml::discard_comments>(iss);
|
||||
|
||||
const auto& a = toml::find(v, "a");
|
||||
const auto& b = toml::find(v, "b");
|
||||
|
Loading…
Reference in New Issue
Block a user