From d0c028e898be8c71101b4e3d04b97aec8a2bfb7d Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 14 Jan 2020 22:07:57 -0800 Subject: [PATCH] tst_QResourceEngine: fix the order of arguments to QCOMPARE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expected and actual were inverted. Pick-To: 5.15 Change-Id: Idc3fae4d0f614c389d27fffd15e9fa6a0a8f25e6 Reviewed-by: MÃ¥rten Nordheim --- tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp b/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp index 902e6db12a..2accf99c9a 100644 --- a/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp +++ b/tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp @@ -451,7 +451,7 @@ void tst_QResourceEngine::checkStructure() } list = dir.entryInfoList(QDir::Files, QDir::Name); - QCOMPARE(containedFiles.size(), list.size()); + QCOMPARE(list.size(), containedFiles.size()); for (i=0; i