From acb389a81a4644423b0805a471dd104ae678d66a Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 15 Apr 2016 10:35:15 +0200
Subject: [PATCH] supress lint error on LF signature #1101

---
 _test/tests/inc/mailer.test.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/_test/tests/inc/mailer.test.php b/_test/tests/inc/mailer.test.php
index 83a1ad930..4a6645fe5 100644
--- a/_test/tests/inc/mailer.test.php
+++ b/_test/tests/inc/mailer.test.php
@@ -222,7 +222,8 @@ class mailer_test extends DokuWikiTest {
             if(substr($line,0,5) == 'ERROR' || substr($line,0,7) == 'WARNING'){
                 // ignore some errors
                 if(strpos($line, "missing mandatory header 'return-path'")) continue; #set by MDA
-                if(strpos($line, "bare newline in text body decoded")) continue; #seems to be false positive
+                if(strpos($line, "bare newline in text body decoded")) continue; #we don't send mail bodies as CRLF, yet
+                if(strpos($line, "last decoded line too long")) continue; #we don't send mail bodies as CRLF, yet
 
                 // get the context in which the error occured
                 $errorin = '';
-- 
GitLab