[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.12-49-gcf1c42a

? sunnavy sunnavy at bestpractical.com
Tue Sep 8 13:29:58 EDT 2015


The branch, 4.2-trunk has been updated
       via  cf1c42a8a851e17a9fd6844d9f783e77cc12fbbc (commit)
      from  747f8f369636283c3efb019e8919e2fbf428ff45 (commit)

Summary of changes:
 t/mail/html-outgoing.t | 3 +++
 1 file changed, 3 insertions(+)

- Log -----------------------------------------------------------------
commit cf1c42a8a851e17a9fd6844d9f783e77cc12fbbc
Author: Dominic Hargreaves <dom at earth.li>
Date:   Tue Sep 1 22:16:29 2015 +0100

    Skip tests which relate to old behaviour in t/mail/html-outgoing.t
    
    Older versions of HTML-FormatText-WithLinks-AndTables were buggy
    and this test assumes this, so skip if a non-buggy version is found.
    
    Fixes: I#31191

diff --git a/t/mail/html-outgoing.t b/t/mail/html-outgoing.t
index a37f52c..caad10f 100644
--- a/t/mail/html-outgoing.t
+++ b/t/mail/html-outgoing.t
@@ -84,6 +84,9 @@ mail_ok {
 SKIP: {
     skip "Only fails on core HTMLFormatter", 9
         unless RT->Config->Get("HTMLFormatter") eq "core";
+    require HTML::FormatText::WithLinks::AndTables;
+    skip "Only fails with older verions of HTML::FormatText::WithLinks::AndTables", 9
+        unless $HTML::FormatText::WithLinks::AndTables::VERSION < 0.03;
     diag "Failing HTML -> Text conversion";
     warnings_like {
         my $body = '<table><tr><td><table><tr><td>Foo</td></tr></table></td></tr></table>';

-----------------------------------------------------------------------


More information about the rt-commit mailing list