From 4f3f85da39b1ec0ad092a1f7e6a27277588cc689 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 27 May 2014 08:58:54 -0400 Subject: [PATCH] Add more tests for normalize_string() - some failing --- tests/Framework/Utils.php | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/tests/Framework/Utils.php b/tests/Framework/Utils.php index 082aaea..82b8ebb 100644 --- a/tests/Framework/Utils.php +++ b/tests/Framework/Utils.php @@ -325,8 +325,13 @@ function test_normalize_string() { $test = array( - '' => '', + '' => '', 'abc def' => 'abc def', + 'ÇçäâàåéêëèïîìÅÉöôòüûùÿøØáíóúñÑÁÂÀãÃÊËÈÍÎÏÓÔõÕÚÛÙýÝ' => 'ccaaaaeeeeiiiaeooouuuyooaiounnaaaaaeeeiiioooouuuyy', + 'ß' => 'ss', + 'ae' => 'a', + 'oe' => 'o', + 'ue' => 'u', ); foreach ($test as $input => $output) { -- Gitblit v1.9.1