summaryrefslogtreecommitdiff
path: root/tests/libedata-book/test-sqlite-cursor-change-locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libedata-book/test-sqlite-cursor-change-locale.c')
-rw-r--r--tests/libedata-book/test-sqlite-cursor-change-locale.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/libedata-book/test-sqlite-cursor-change-locale.c b/tests/libedata-book/test-sqlite-cursor-change-locale.c
index 859857a39..65671d1df 100644
--- a/tests/libedata-book/test-sqlite-cursor-change-locale.c
+++ b/tests/libedata-book/test-sqlite-cursor-change-locale.c
@@ -87,7 +87,7 @@ main (gint argc,
step_test_add_assertion (data, 5, 17, 16, 18, 10, 14);
step_test_add_assertion (data, 5, 13, 12, 9, 19, 20);
- /* When changing from fr_CA to de_DE, two numbers change:
+ /* Depending on the libphonenumber, when changing from fr_CA to de_DE, two numbers change:
*
* sorted-5:
* 049-2459-4393 is now parsed with the national number as 4924594393
@@ -95,8 +95,9 @@ main (gint argc,
* sorted-4:
* 12 245999 is now parsed with national number 12245999 instead of 2245999
*
+ * or only one. Skip this check, because a lack of a way to get the libphonenumber version.
*/
- step_test_change_locale (data, "de_DE.UTF-8", 2);
+ step_test_change_locale (data, "de_DE.UTF-8", -1);
step_test_add_assertion (data, 5, 11, 1, 2, 5, 6);
step_test_add_assertion (data, 5, 7, 8, 4, 3, 15);
step_test_add_assertion (data, 5, 17, 16, 18, 10, 14);