From 7a325cf5adf582b2139cb5744237d652ab16cdac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 24 Feb 2014 12:26:02 +0100 Subject: [PATCH] Fix regexp to match MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/classes/plugin/export/PMA_ExportOds_test.php | 2 +- test/classes/plugin/export/PMA_ExportOdt_test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/classes/plugin/export/PMA_ExportOds_test.php b/test/classes/plugin/export/PMA_ExportOds_test.php index b8d02f2082..f4083a0668 100644 --- a/test/classes/plugin/export/PMA_ExportOds_test.php +++ b/test/classes/plugin/export/PMA_ExportOds_test.php @@ -192,7 +192,7 @@ class PMA_ExportOds_Test extends PHPUnit_Framework_TestCase { $GLOBALS['ods_buffer'] = 'header'; - $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c2f/'); + $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c/'); $this->setOutputCallback('bin2hex'); $this->assertTrue( diff --git a/test/classes/plugin/export/PMA_ExportOdt_test.php b/test/classes/plugin/export/PMA_ExportOdt_test.php index 46f589fa15..89aef27234 100644 --- a/test/classes/plugin/export/PMA_ExportOdt_test.php +++ b/test/classes/plugin/export/PMA_ExportOdt_test.php @@ -333,7 +333,7 @@ class PMA_ExportOdt_Test extends PHPUnit_Framework_TestCase { $GLOBALS['odt_buffer'] = 'header'; - $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c2f/'); + $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c/'); $this->setOutputCallback('bin2hex'); $this->assertTrue(