[geocode-glib] test-gcglib: Fix pub searches
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] test-gcglib: Fix pub searches
- Date: Tue, 9 Jun 2015 12:25:13 +0000 (UTC)
commit 22f47c37b9974adf4bfc7b987538241f0833fa72
Author: Bastien Nocera <hadess hadess net>
Date: Sun May 17 14:57:08 2015 +0200
test-gcglib: Fix pub searches
There are multiple "Old Palace Road" objects in the database now.
https://bugzilla.gnome.org/show_bug.cgi?id=737857
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 d20f799..748e19c 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -204,8 +204,8 @@ test_xep (void)
place = res->data;
loc = geocode_place_get_location (place);
g_assert (loc != NULL);
- g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2371416);
- g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5894088);
+ g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2371333);
+ g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5894036);
g_object_unref (place);
g_list_free (res);
@@ -237,7 +237,7 @@ test_pub (void)
g_assert (loc != NULL);
g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2368747);
- g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5912356);
+ g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5912357);
g_object_unref (place);
g_list_free (res);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]