From 58fcc7bb32046a36db0c7be0fdff6529baba639e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 2 Apr 2014 09:08:24 +0200 Subject: [PATCH] Add test for double format values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bug #4347 Signed-off-by: Michal Čihař --- test/classes/PMA_Advisor_test.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/classes/PMA_Advisor_test.php b/test/classes/PMA_Advisor_test.php index a13c68c698..aee454118f 100644 --- a/test/classes/PMA_Advisor_test.php +++ b/test/classes/PMA_Advisor_test.php @@ -210,6 +210,22 @@ class Advisor_Test extends PHPUnit_Framework_TestCase ), null, ), + array( + array( + 'justification' => '%s% %d foo | value, value', + 'name' => 'Double', + 'issue' => 'issue', + 'recommendation' => 'Recommend' + ), + array( + 'justification' => '0% 0 foo', + 'id' => 'Double', + 'name' => 'Double', + 'issue' => 'issue', + 'recommendation' => 'Recommend' + ), + null, + ), array( array( 'justification' => '"\'foo',