From 688a1905d86cc993be6b6fc8edd7dff4110d33aa Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 7 Oct 2024 12:56:09 +0200 Subject: [PATCH] test: avoid short names --- test/entt/entity/group.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/entt/entity/group.cpp b/test/entt/entity/group.cpp index d7e058646..10ae23f75 100644 --- a/test/entt/entity/group.cpp +++ b/test/entt/entity/group.cpp @@ -399,9 +399,9 @@ TEST(NonOwningGroup, ConstNonConstAndAllInBetween) { testing::StaticAssertTypeEq)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); testing::StaticAssertTypeEq)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); - group.each([](auto &&i, auto &&c) { - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); + group.each([](auto &&iv, auto &&cv) { + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); }); for([[maybe_unused]] auto [entt, iv, cv]: group.each()) { @@ -1205,11 +1205,11 @@ TEST(OwningGroup, ConstNonConstAndAllInBetween) { testing::StaticAssertTypeEq(entt::get)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); testing::StaticAssertTypeEq(entt::get)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); - group.each([](auto &&i, auto &&c, auto &&d, auto &&f) { - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); + group.each([](auto &&iv, auto &&cv, auto &&dv, auto &&fv) { + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); }); for([[maybe_unused]] auto [entt, iv, cv, dv, fv]: group.each()) {