From 047aeca3124851e341bd4ff0b8b95650256d9207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 6 Jan 2016 11:41:03 +0100 Subject: [PATCH] Add missing escaping to regexp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/libraries/PMA_operations_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libraries/PMA_operations_test.php b/test/libraries/PMA_operations_test.php index 89b260dbd1..f62457c335 100644 --- a/test/libraries/PMA_operations_test.php +++ b/test/libraries/PMA_operations_test.php @@ -78,7 +78,7 @@ class PMA_Operations_Test extends PHPUnit_Framework_TestCase $_REQUEST['db_collation'] = 'db1'; $this->assertRegExp( - '/.*db_operations.php(.|[\n])*db_rename([\n]|.)*Rename database to.*/m', + '/.*db_operations.php(.|[\\n])*db_rename([\\n]|.)*Rename database to.*/m', PMA_getHtmlForRenameDatabase("pma") ); }