From 84638cf2b648ad50aa9e17f394bb6676dba7671b Mon Sep 17 00:00:00 2001 From: clyde <2366188+clydebarrow@users.noreply.github.com> Date: Thu, 22 Oct 2026 16:59:50 +1100 Subject: [PATCH] [runtime_image] Use longer names in the PNG time limit test for clang-tidy Co-Authored-By: Claude Opus 5.5 --- tests/components/runtime_image/test_png_time_limit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/runtime_image/test_png_time_limit.cpp b/tests/components/runtime_image/test_png_time_limit.cpp index 0b5312b1fde..741ac5c8f3c 100644 --- a/tests/components/runtime_image/test_png_time_limit.cpp +++ b/tests/components/runtime_image/test_png_time_limit.cpp @@ -155,8 +155,8 @@ TEST(PngTimeLimit, LargeImageIsDecodedOverSeveralCalls) { ASSERT_EQ(img.get_width(), 800); ASSERT_EQ(img.get_height(), 600); - for (auto [x, y] : {std::pair{0, 0}, std::pair{400, 300}, std::pair{799, 599}}) { - const Color pixel = img.get_pixel(x, y); + for (auto [col, row] : {std::pair{0, 0}, std::pair{400, 300}, std::pair{799, 599}}) { + const Color pixel = img.get_pixel(col, row); EXPECT_EQ(pixel.r, 30); EXPECT_EQ(pixel.g, 120); EXPECT_EQ(pixel.b, 200);