summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/headers/tst_headers.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp
index bb79906..6f4a9ad 100644
--- a/tests/auto/headers/tst_headers.cpp
+++ b/tests/auto/headers/tst_headers.cpp
@@ -275,13 +275,7 @@ void tst_Headers::licenseCheck()
} else {
QVERIFY(copyrightPattern.exactMatch(content.at(i++)));
}
- // The old-style Contact: line should be replaced with
- // Contact: http://www.qt-project.org/
- // but it's still allowed.
- if (content.at(i++) != QString("** Contact: http://www.qt-project.org/")) {
- // here this i++ assumes that 'All rights reserved' line still exists
- QCOMPARE(content.at(i++), QString("** Contact: Nokia Corporation (qt-info@nokia.com)"));
- }
+ QCOMPARE(content.at(i++), QString("** Contact: http://www.qt-project.org/"));
}
QCOMPARE(content.at(i++), QString("**"));
QVERIFY(moduleTest.exactMatch(content.at(i++)));