Fix regexp to match

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-02-24 12:26:02 +01:00
parent 3500f41f6f
commit 7a325cf5ad
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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(