aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp')
-rw-r--r--tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
index 50af75380d..2e7b704413 100644
--- a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
+++ b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <qtest.h>
#include <QLibraryInfo>
@@ -152,10 +152,10 @@ void tst_qmlplugindump::plugin()
QVERIFY2(dumper.waitForStarted(), qPrintable(dumper.errorString()));
QVERIFY2(dumper.waitForFinished(), qPrintable(dumper.errorString()));
- const QString &result = dumper.readAllStandardOutput();
+ const QByteArray result = dumper.readAllStandardOutput();
QFile expectedFile(expectedPath);
QVERIFY2(expectedFile.open(QIODevice::ReadOnly), qPrintable(expectedFile.errorString()));
- const QString expected = expectedFile.readAll();
+ const QByteArray expected = expectedFile.readAll();
QCOMPARE(result, expected);
}