summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2021-09-21 12:44:16 -0500
committerPatrick Griffis <pgriffis@igalia.com>2021-10-15 13:48:34 -0500
commit76f1adbac63925b2cd8801c040455634de623a10 (patch)
tree9b3fa50a88da468a56f93aae88e8de08ec76f823
parent7d772fed11c2c171362a3b5e2fcfb6eddbca5d04 (diff)
downloadlibgweather-76f1adbac63925b2cd8801c040455634de623a10.tar.gz
tests: Use g_assert_no_error()
-rw-r--r--libgweather/tests/test_libgweather.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/tests/test_libgweather.c b/libgweather/tests/test_libgweather.c
index 018da20..59069f6 100644
--- a/libgweather/tests/test_libgweather.c
+++ b/libgweather/tests/test_libgweather.c
@@ -438,7 +438,7 @@ test_metar_weather_stations (void)
return;
}
#if SOUP_CHECK_VERSION (2, 99, 2)
- g_assert_null (error);
+ g_assert_no_error (error);
g_assert_cmpint (soup_message_get_status (msg), >=, 200);
g_assert_cmpint (soup_message_get_status (msg), <, 300);
g_assert_nonnull (body);