[geocode-glib] test-gcglib: Fix "Santa Maria Del Rio" searches
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] test-gcglib: Fix "Santa Maria Del Rio" searches
- Date: Tue, 9 Jun 2015 12:25:08 +0000 (UTC)
commit 118ac866f6bdf1a925cc396b78f75a0e538d34bb
Author: Bastien Nocera <hadess hadess net>
Date: Sun May 17 14:56:34 2015 +0200
test-gcglib: Fix "Santa Maria Del Rio" searches
The results are more precise now.
https://bugzilla.gnome.org/show_bug.cgi?id=737857
geocode-glib/test-gcglib.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 9833dd1..d20f799 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -338,11 +338,11 @@ test_search_lat_long (void)
g_assert_cmpfloat (geocode_location_get_latitude (loc) - 21.801729, <, 0.000001);
g_assert_cmpfloat (geocode_location_get_longitude (loc) - -100.737418, <, 0.000001);
g_assert (bbox_includes_location (bbox, geocode_place_get_location (place)));
- g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Mexico");
+ g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Santa Mar\303\255a del
Rio, Mexico");
g_assert_cmpstr (geocode_place_get_town (place), ==, "Santa Maria Del Rio");
g_assert_cmpstr (geocode_place_get_state (place), ==, "San Luis Potosi");
g_assert_cmpstr (geocode_place_get_country (place), ==, "Mexico");
- g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Mexico");
+ g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Santa Mar\303\255a
del Rio, Mexico");
g_list_free_full (res, (GDestroyNotify) g_object_unref);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]