From c5ca8181183034ef9090b1131f5edfdec0f0fae2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Thu, 04 Jun 2015 11:06:45 -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 80b5bbb..f4fc3ed 100644
--- a/tests/MailFunc.php
+++ b/tests/MailFunc.php
@@ -118,7 +118,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