diff --git a/test/test_main.cpp b/test/test_main.cpp index 980ae4c..b73823b 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -28,7 +28,7 @@ using namespace mstchtest; partials.insert(std::make_pair(partial_item.first, get(partial_item.second))); \ for(auto& data_item: get(test["data"])) \ if(data_item.first == "lambda") \ - data_item.second = mstch::lambda{specs_lambdas[get(test["name"])]}; \ + data_item.second = mstch::lambda(specs_lambdas[get(test["name"])]); \ SECTION(get(test["name"])) \ REQUIRE(mstch::render( \ get(test["template"]), \