Commit 53b29e74 authored by Philip Withnall's avatar Philip Withnall Committed by Philip Withnall
Browse files

test-gcglib: Add a missing error assertion

This doesn’t change how the tests behave at the moment, but might catch
more errors in future.
parent a5f1e323
......@@ -572,6 +572,7 @@ test_search_json (void)
TEST_SRCDIR "/nominatim-rio.json", error->message);
list = _geocode_parse_search_json (contents, &error);
g_assert_no_error (error);
g_assert (list != NULL);
g_assert_cmpint (g_list_length (list), ==, 10);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment