diff --git a/test/test_main.cpp b/test/test_main.cpp index 48d7c7a..8fc2cfe 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -20,7 +20,7 @@ using namespace mstchtest; #define SPECS_TEST(x) TEST_CASE("specs_" #x) { \ using boost::get; \ - mstch::node data = json::parse(x ## _json); \ + mstch::node data{json::parse(x ## _json)}; \ for (auto& test_item: get(get(data)["tests"])) {\ auto test = get(test_item); \ std::map partials; \