From c74cf23124c247307178158493b93b3e72473984 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 7 Oct 2022 17:54:24 +0200 Subject: [PATCH] tst_QRect::containsPointF_data(): remove duplicate data row The row 27 that was positioned before row 01, as if it were meant to be numbered row 00, was identical to the row 27 that appeared after row 26. Since row 26 was the other case dealing with the null QRectF(), I kept the one after it instead of renumbering row 00 and deleting row 27. Change-Id: I3585839184233f1f1629280ac9e5b25110c155c0 Reviewed-by: Thiago Macieira --- tests/auto/corelib/tools/qrect/tst_qrect.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/corelib/tools/qrect/tst_qrect.cpp b/tests/auto/corelib/tools/qrect/tst_qrect.cpp index 65cd68108a..d37a5c52b0 100644 --- a/tests/auto/corelib/tools/qrect/tst_qrect.cpp +++ b/tests/auto/corelib/tools/qrect/tst_qrect.cpp @@ -4315,8 +4315,6 @@ void tst_QRect::containsPointF_data() QTest::addColumn("point"); QTest::addColumn("contains"); - QTest::newRow("test 27") << QRectF() << QPointF() << false; - QTest::newRow("test 01") << QRectF(0, 0, 10, 10) << QPointF( 0, 0) << true; QTest::newRow("test 02") << QRectF(0, 0, 10, 10) << QPointF( 0, 10) << true; QTest::newRow("test 03") << QRectF(0, 0, 10, 10) << QPointF(10, 0) << true;