diff --git a/tests/check_toml_test.cpp b/tests/check_toml_test.cpp index aeaf54a..ec03124 100644 --- a/tests/check_toml_test.cpp +++ b/tests/check_toml_test.cpp @@ -84,8 +84,8 @@ struct json_serializer { if(!is_first) {std::cout << ", ";} is_first = false; - std::cout << toml::format(toml::string(elem.first), - std::numeric_limits::max()); + std::cout << toml::format(toml::value(elem.first), + std::numeric_limits::max()); std::cout << ':'; toml::visit(*this, elem.second); }