diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-06-30 12:16:09 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-06-30 14:10:51 +0200 |
commit | 5a0c6f238757bf7b7236a88a2ae1f9b43a5ad17a (patch) | |
tree | 8b2db243506c3bb55e0b57e5df2c1d24322e7f70 | |
parent | 33d14b2574fb24704bc1f896b0955a53a45d0d86 (diff) | |
download | geocode-glib-5a0c6f238757bf7b7236a88a2ae1f9b43a5ad17a.tar.gz |
tests: Exercise geocode_forward_set_bounded() helper
-rw-r--r-- | geocode-glib/tests/geocode-glib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/geocode-glib/tests/geocode-glib.c b/geocode-glib/tests/geocode-glib.c index e7d6d84..b86fb0a 100644 --- a/geocode-glib/tests/geocode-glib.c +++ b/geocode-glib/tests/geocode-glib.c @@ -419,10 +419,11 @@ test_pub (void) params = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL); add_attr_string (params, "q", "9, old palace road, guildford, surrey"); add_attr_string (params, "limit", "1"); - add_attr_string (params, "bounded", "0"); + add_attr_string (params, "bounded", "1"); object = create_forward_for_string ("9, old palace road, guildford, surrey", params, "pub.json"); + geocode_forward_set_bounded (object, TRUE); geocode_forward_set_answer_count (object, 1); res = geocode_forward_search (object, &error); |