From 773a6bffd78b363577d27604e17f4ee08ff07e77 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 10 Jul 2020 11:59:20 +0200 Subject: Tests: Use QVERIFY instead of QCOMPARE for empty lists Pick-to: 5.15 Change-Id: I4da02fa11583eca3844bf42efcdf818b8bbd6a94 Reviewed-by: Jarek Kobus --- tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/other/qaccessibility/tst_qaccessibility.cpp') diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index b3ac7489b7..d11d28206b 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -2882,8 +2882,8 @@ void tst_QAccessibility::listTest() QCOMPARE(cellInterface->columnIndex(), 0); QCOMPARE(cellInterface->rowExtent(), 1); QCOMPARE(cellInterface->columnExtent(), 1); - QCOMPARE(cellInterface->rowHeaderCells(), QList()); - QCOMPARE(cellInterface->columnHeaderCells(), QList()); + QVERIFY(cellInterface->rowHeaderCells().isEmpty()); + QVERIFY(cellInterface->columnHeaderCells().isEmpty()); QCOMPARE(cellInterface->table()->object(), listView); -- cgit v1.2.3