mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-08 13:50:06 +00:00
test: update test for multiple translation units
This commit is contained in:
parent
5fe166e375
commit
c313e1382c
@ -7,5 +7,5 @@ int main()
|
||||
const std::string content("a = 0");
|
||||
std::istringstream iss(content);
|
||||
const auto data = toml::parse(iss, "test_multiple_translation_unit.toml");
|
||||
return read_a(data);
|
||||
return read_a(toml::get<toml::table>(data));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user