test: update test for multiple translation units

This commit is contained in:
ToruNiina 2019-06-02 22:00:56 +09:00
parent 5fe166e375
commit c313e1382c

View File

@ -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));
}