[libgweather/ebassi/libsoup3: 4/6] tests: Use g_assert_no_error()




commit d2a7d381ef23b395de0a384c3a1af051c26b527a
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 f2a7b3d2..fe258121 100644
--- a/libgweather/tests/test_libgweather.c
+++ b/libgweather/tests/test_libgweather.c
@@ -426,7 +426,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]