From d921587f291a7effb34adab85d0feecec8663306 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 27 May 2014 10:22:10 +0200 Subject: Add more tests for normalize_string() - some failing --- tests/Framework/Utils.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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) { -- cgit v1.2.3