From c0087512aa4c2653b2f090735d1be773f1462bd4 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 19 Jun 2015 03:32:29 -0400
Subject: [PATCH] Adapt washtml test to pass with different versions of iconv (i.e. on CentOS7)
---
tests/MailFunc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/MailFunc.php b/tests/MailFunc.php
index 2baeedf..b8aa1d2 100644
--- a/tests/MailFunc.php
+++ b/tests/MailFunc.php
@@ -116,7 +116,7 @@
$part = $this->get_html_part('src/invalidchars.html');
$washed = rcmail_print_body($part->body, $part);
- $this->assertRegExp('/<p>символ<\/p>/', $washed, "Remove non-unicode characters from HTML message body");
+ $this->assertRegExp('/<p>(символ|симол)<\/p>/', $washed, "Remove non-unicode characters from HTML message body");
}
/**
--
Gitblit v1.9.1