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 10:22:10 +0200
commitd921587f291a7effb34adab85d0feecec8663306 (patch)
treec78b01c8d271a5bd35ee20f4af0ddc7bad9d2897
parentfa7b31940422976b4e2de9872e61cf7c2a861f2f (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) {