From c313e1382cd64d9bbff43f91602930521fa084f6 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 2 Jun 2019 22:00:56 +0900 Subject: [PATCH] test: update test for multiple translation units --- tests/test_multiple_translation_unit_1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_multiple_translation_unit_1.cpp b/tests/test_multiple_translation_unit_1.cpp index daff11a..08a4f98 100644 --- a/tests/test_multiple_translation_unit_1.cpp +++ b/tests/test_multiple_translation_unit_1.cpp @@ -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(data)); }