summaryrefslogtreecommitdiffstats
path: root/tests/auto/headers
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-08-24 23:22:13 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2010-08-24 23:22:39 +0200
commited1fecfe6b7ce370184ef4dfb421fb387807633b (patch)
treee6b4dd1501bece1e122a53721f10f7b38ae511ff /tests/auto/headers
parentd8cd04e97540ac1c048a35ad54c8c6337d639ca1 (diff)
Add the missing license headers to the QString benchmark data
Diffstat (limited to 'tests/auto/headers')
-rw-r--r--tests/auto/headers/tst_headers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp
index 06c70f983e..7ccf058f39 100644
--- a/tests/auto/headers/tst_headers.cpp
+++ b/tests/auto/headers/tst_headers.cpp
@@ -213,7 +213,8 @@ void tst_Headers::licenseCheck()
return;
if (content.first().contains("generated")) {
- content.takeFirst();
+ // don't scan generated files
+ return;
}
if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp")