summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-27 10:22:10 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-27 14:58:54 +0200
commit4f3f85da39b1ec0ad092a1f7e6a27277588cc689 (patch)
treec2902fc1bbbfb673cc2b5cee719d94988773bfc5
parent49e260ba584d3545e75a374178f47a103da50893 (diff)
Add more tests for normalize_string() - some failing
-rw-r--r--tests/Framework/Utils.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Framework/Utils.php b/tests/Framework/Utils.php
index 082aaea3b..82b8ebb73 100644
--- a/tests/Framework/Utils.php
+++ b/tests/Framework/Utils.php
@@ -325,8 +325,13 @@ class Framework_Utils extends PHPUnit_Framework_TestCase
function test_normalize_string()
{
$test = array(
- '' => '',
+ '' => '',
'abc def' => 'abc def',
+ 'ÇçäâàåéêëèïîìÅÉöôòüûùÿøØáíóúñÑÁÂÀãÃÊËÈÍÎÏÓÔõÕÚÛÙýÝ' => 'ccaaaaeeeeiiiaeooouuuyooaiounnaaaaaeeeiiioooouuuyy',
+ 'ß' => 'ss',
+ 'ae' => 'a',
+ 'oe' => 'o',
+ 'ue' => 'u',
);
foreach ($test as $input => $output) {