From eb58b6c537e8d4659783f0d00dfd6c1bf006282d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 05 May 2015 06:40:17 -0400
Subject: [PATCH] Fix failing rcube_utils::strtotime() test if system timezone was different than expected
---
tests/Framework/Html2text.php | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tests/Framework/Html2text.php b/tests/Framework/Html2text.php
index 2c7759f..dee7670 100644
--- a/tests/Framework/Html2text.php
+++ b/tests/Framework/Html2text.php
@@ -41,6 +41,16 @@
'in' => '<b><strong>ś</strong></b>',
'out' => 'Ś',
),
+ 6 => array(
+ 'title' => 'Don\'t remove non-printable chars',
+ 'in' => chr(0x002).chr(0x003),
+ 'out' => chr(0x002).chr(0x003),
+ ),
+ 7 => array(
+ 'title' => 'Remove spaces after <br>',
+ 'in' => 'test<br> test',
+ 'out' => "test\ntest",
+ ),
);
}
--
Gitblit v1.9.1