diff --git a/include/boost/ut.hpp b/include/boost/ut.hpp index 5634de7d..d22ad812 100644 --- a/include/boost/ut.hpp +++ b/include/boost/ut.hpp @@ -2739,13 +2739,13 @@ template requires std::ranges::range [[nodiscard]] constexpr auto operator|(const F& f, const T& t) { return [f, t](std::string_view type, std::string_view name, - const std::vector& tag = {}) { + const std::vector& tags = {}) { for (int counter = 1; const auto& arg : t) { detail::on(events::test{ .type = type, .name = std::string{name} + " (" + format_test_parameter(arg, counter) + ")", - .tag = tag, + .tag = tags, .location = {}, .arg = arg, .run = f}); @@ -2769,14 +2769,14 @@ template class T, class... Ts> }; return [f, t, unique_name](std::string_view type, std::string_view name, - const std::vector& tag = {}) { + const std::vector& tags = {}) { int counter = 1; apply( [=, &counter](const auto&... args) { (detail::on(events::test{ .type = type, .name = unique_name.template operator()(name, args, counter), - .tag = tag, + .tag = tags, .location = {}, .arg = args, .run = f}),