[geocode-glib] test-gcglib: Name of 'France' corrected in OSM



commit 2cb35bcca0a9a92652f69bc9b7e79286b950cd42
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Aug 19 23:40:07 2013 +0300

    test-gcglib: Name of 'France' corrected in OSM
    
    Someone seems to have corrected the name of 'France' in french locale
    from 'France métropolitaine'. Lets update the testcase accordingly.

 geocode-glib/test-gcglib.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 045d863..5074fad 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -373,11 +373,11 @@ test_locale (void)
                loc = geocode_place_get_location (place);
                g_assert (loc != NULL);
 
-               if (g_strcmp0 (geocode_place_get_name (place), "Bonneville, Rhône-Alpes, France 
métropolitaine") == 0 &&
+               if (g_strcmp0 (geocode_place_get_name (place), "Bonneville, Rhône-Alpes, France") == 0 &&
                    g_strcmp0 (geocode_place_get_state (place), "Rhône-Alpes") == 0 &&
-                   g_strcmp0 (geocode_place_get_country (place), "France métropolitaine") == 0 &&
+                   g_strcmp0 (geocode_place_get_country (place), "France") == 0 &&
                    g_strcmp0 (geocode_location_get_description (loc),
-                               "Bonneville, Rhône-Alpes, France métropolitaine") == 0) {
+                               "Bonneville, Rhône-Alpes, France") == 0) {
                        found = TRUE;
                         break;
                 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]