mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58: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");
|
||||
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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user