[glib] Improve search utils test coverage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Improve search utils test coverage
- Date: Fri, 29 Nov 2013 02:56:38 +0000 (UTC)
commit 555d40eeed7309d11717c872b2115f4d6a519a86
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 28 13:54:50 2013 -0500
Improve search utils test coverage
This adds test cases for the Turkish i.
glib/tests/search-utils.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glib/tests/search-utils.c b/glib/tests/search-utils.c
index 95c9b2b..54926d5 100644
--- a/glib/tests/search-utils.c
+++ b/glib/tests/search-utils.c
@@ -35,6 +35,10 @@ test_search (void)
{ "Jorgen", "Jör", FALSE },
{ "Jörgen", "jor", TRUE },
+ /* Turkish special case */
+ { "İstanbul", "ist", TRUE },
+ { "Diyarbakır", "diyarbakir", TRUE },
+
/* Multi words */
{ "Xavier Claessens", "Xav Cla", TRUE },
{ "Xavier Claessens", "Cla Xav", TRUE },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]