From 21712668eeeb4862e1d819e0ff5974d188eb6d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80lex=20Fiestas?= Date: Sat, 13 Sep 2014 00:50:46 +0200 Subject: [PATCH] Pass arguments in correct order to QCOMPARE It is actual, expected . --- tests/networkpackagetests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/networkpackagetests.cpp b/tests/networkpackagetests.cpp index d21397529..ded1b182e 100644 --- a/tests/networkpackagetests.cpp +++ b/tests/networkpackagetests.cpp @@ -139,7 +139,7 @@ void NetworkPackageTests::networkPackageEncryptionTest() original.decrypt(privateKey, &decrypted); QByteArray decryptedJson = decrypted.serialize(); - QCOMPARE(QString(json), QString(decryptedJson)); + QCOMPARE(QString(decryptedJson), QString(json)); }