diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 74229fd745a..0824faa03e5 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -2799,7 +2799,7 @@ void QTest::setMainSourcePath(const char *file, const char *builddir) If the caller creates a custom failure message showing the compared values, or if those values cannot be stringified, use the overload of the function - that takes no \a actualVal and \a expecetedVal parameters. + that takes no \a actualVal and \a expectedVal parameters. */ bool QTest::compare_helper(bool success, const char *failureMsg, char *actualVal, char *expectedVal,