diff --git a/tests/theme_migration/theme_icon_render_test.cpp b/tests/theme_migration/theme_icon_render_test.cpp index f9f4d669c..ee078555d 100644 --- a/tests/theme_migration/theme_icon_render_test.cpp +++ b/tests/theme_migration/theme_icon_render_test.cpp @@ -859,6 +859,7 @@ TEST(IconStickerPreview, WritesPngsWhenRequested) {"increment", AppColor::Positive}, {"decrement", AppColor::Negative}, {"remove_row", AppColor::Negative}, + {"delete", AppColor::Negative}, }; constexpr int SIZES[] = {15, 16, 24, 48}; constexpr int CONTEXT_SIZE = 32; @@ -888,7 +889,7 @@ TEST(IconStickerPreview, WritesPngsWhenRequested) const int logicalWidth = MARGIN + LABEL_WIDTH + static_cast(std::size(SIZES)) * CELL_WIDTH + MARGIN; const int logicalHeight = MARGIN + 24 + 24 + static_cast(std::size(stickered)) * GLYPH_BLOCK_HEIGHT + 24 + 24 + - CONTEXT_SIZE + 46 + CONTEXT_SIZE + 46 + 20 + MARGIN; + CONTEXT_SIZE + 46 + CONTEXT_SIZE + 46 + MARGIN; const QSize imageSize(qRound(logicalWidth * DPR), qRound(logicalHeight * DPR)); for (const bool dark : {false, true}) { @@ -978,12 +979,6 @@ TEST(IconStickerPreview, WritesPngsWhenRequested) } } - y += CONTEXT_SIZE + 46; - painter.drawText( - QPointF(MARGIN, y), - QStringLiteral( - "The clear-filter trash can keeps the line treatment; a sticker rim closes its lid at toolbar sizes.")); - painter.end(); const QString path = QDir(outDir).absoluteFilePath(dark ? QStringLiteral("sticker-preview-dark.png") : QStringLiteral("sticker-preview-light.png"));