diff options
Diffstat (limited to 'tests/auto/tools/uic/tst_uic.cpp')
-rw-r--r-- | tests/auto/tools/uic/tst_uic.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/tools/uic/tst_uic.cpp b/tests/auto/tools/uic/tst_uic.cpp index 6092b7b778..c5315fad8a 100644 --- a/tests/auto/tools/uic/tst_uic.cpp +++ b/tests/auto/tools/uic/tst_uic.cpp @@ -195,12 +195,10 @@ void tst_uic::compare() } originalFile = orgFile.readAll(); - originalFile.replace(QRegExp(QLatin1String("Created:.{0,25}[\\d]{4,4}")), ""); - originalFile.replace(QRegExp(QLatin1String("by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); + originalFile.replace(QRegExp(QLatin1String("Created by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); generatedFile = genFile.readAll(); - generatedFile.replace(QRegExp(QLatin1String("Created:.{0,25}[\\d]{4,4}")), ""); - generatedFile.replace(QRegExp(QLatin1String("by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); + generatedFile.replace(QRegExp(QLatin1String("Created by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); QCOMPARE(generatedFile, originalFile); } |