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