diff --git a/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp b/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp index 6daf418e7bd..6b8c5a76beb 100644 --- a/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp +++ b/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp @@ -64,7 +64,7 @@ void tst_QHashFunctions::consistent() { // QString-like const QString s = QStringLiteral("abcdefghijklmnopqrstuvxyz").repeated(16); - QCOMPARE(qHash(s), qHash(QStringView(s))); + QCOMPARE(qHash(s, seed), qHash(QStringView(s), seed)); } void tst_QHashFunctions::initTestCase()