From 6d5c3d36ea1069f1b3a419dcb2708a1fc2c0e77c Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Fri, 28 Jun 2019 16:04:48 +0300 Subject: Fix incorrect compare string on findMagicCookieWithError() test function Change-Id: Ic38a4dd321d01606deb5f85bfdabac3677205e81 Reviewed-by: Iikka Eklund Reviewed-by: Katja Marttila --- tests/auto/installer/binaryformat/tst_binaryformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/installer/binaryformat/tst_binaryformat.cpp b/tests/auto/installer/binaryformat/tst_binaryformat.cpp index 6b40452c0..c9cd2b00f 100644 --- a/tests/auto/installer/binaryformat/tst_binaryformat.cpp +++ b/tests/auto/installer/binaryformat/tst_binaryformat.cpp @@ -128,7 +128,7 @@ private slots: // throws QInstaller::BinaryContent::findMagicCookie(&file, QInstaller::BinaryContent::MagicCookie); } catch (const QInstaller::Error &error) { - QCOMPARE(qPrintable(error.message()), "No marker found, stopped after 71.00 KiB."); + QCOMPARE(qPrintable(error.message()), "No marker found, stopped after 71.00 KB."); } catch (...) { QFAIL("Unexpected error."); } -- cgit v1.2.3