The branch, master has been updated via 83b859f679a36e8873477c45490dd46eb923cf5a (commit) from e4c101c4d64ca3d63601c84b26b4c1be82f57f81 (commit)
- Log ----------------------------------------------------------------- commit 83b859f679a36e8873477c45490dd46eb923cf5a Author: Michal Čihař mcihar@suse.cz Date: Mon Aug 15 11:07:07 2011 +0200
Add test for quotes handling
-----------------------------------------------------------------------
Summary of changes: test/classes/Advisor_test.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/classes/Advisor_test.php b/test/classes/Advisor_test.php index 24b8fe6..4f30f57 100644 --- a/test/classes/Advisor_test.php +++ b/test/classes/Advisor_test.php @@ -81,6 +81,10 @@ class Advisor_test extends PHPUnit_Framework_TestCase array('justification' => '%s% foo | value', 'name' => 'Percent', 'issue' => 'issue', 'recommendation' => 'Recommend'), array('justification' => '0% foo', 'name' => 'Percent', 'issue' => 'issue', 'recommendation' => 'Recommend'), ), + array( + array('justification' => '"'foo', 'name' => 'Quotes', 'issue' => 'issue', 'recommendation' => 'Recommend"''), + array('justification' => '"'foo', 'name' => 'Quotes', 'issue' => 'issue', 'recommendation' => 'Recommend"''), + ), ); } }
hooks/post-receive