[libgweather/pgriffis/libsoup-ci: 69/70] tests: Use g_assert_no_error()
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/pgriffis/libsoup-ci: 69/70] tests: Use g_assert_no_error()
- Date: Fri, 15 Oct 2021 17:31:09 +0000 (UTC)
commit 6e842c1a638b94c7780f4fe9be1ae69640541f12
Author: Patrick Griffis <pgriffis igalia com>
Date: Tue Sep 21 12:44:16 2021 -0500
tests: Use g_assert_no_error()
libgweather/tests/test_libgweather.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgweather/tests/test_libgweather.c b/libgweather/tests/test_libgweather.c
index 018da20c..59069f65 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]