Use QFETCH + QCOMPARE rather than QTEST for container sizes
QTEST insists on an exactly matching type (and that differs between Qt 5 and 6 for container sizes), while QCOMPARE can compare numbers with different types just fine. With this all Qt6 unit tests should pass here.
Please register or sign in to comment