tests/auto/headers/tst_headers.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/tests/auto/headers/tst_headers.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/tests/auto/headers/tst_headers.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -213,7 +213,8 @@
         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")