summaryrefslogtreecommitdiff
path: root/libgweather/tests
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-10-19 17:32:05 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-11-10 17:06:46 +0000
commit3e19bdfb9fb2c2f05a45c99dabc8881de36a4a52 (patch)
tree5f9882c44534c8f65b10d0be239bd281d12ac869 /libgweather/tests
parent5184cdf21d391d01d86d480d4fc2140f5db71d8b (diff)
downloadlibgweather-3e19bdfb9fb2c2f05a45c99dabc8881de36a4a52.tar.gz
Run the code base through the style formatter
Ensure that the changes are consistent.
Diffstat (limited to 'libgweather/tests')
-rw-r--r--libgweather/tests/test_libgweather.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgweather/tests/test_libgweather.c b/libgweather/tests/test_libgweather.c
index fe25812..ece4851 100644
--- a/libgweather/tests/test_libgweather.c
+++ b/libgweather/tests/test_libgweather.c
@@ -403,7 +403,7 @@ test_metar_weather_stations (void)
SoupSession *session;
GHashTable *stations_ht;
char *contents;
-#if SOUP_CHECK_VERSION (2, 99, 2)
+#if SOUP_CHECK_VERSION(2, 99, 2)
GBytes *body;
GError *error = NULL;
gsize bsize;
@@ -414,7 +414,7 @@ test_metar_weather_stations (void)
msg = soup_message_new ("GET", METAR_SOURCES);
session = soup_session_new ();
-#if SOUP_CHECK_VERSION (2, 99, 2)
+#if SOUP_CHECK_VERSION(2, 99, 2)
body = soup_session_send_and_read (session, msg, NULL, &error);
if (error && error->domain == G_TLS_ERROR) {
#else
@@ -425,7 +425,7 @@ test_metar_weather_stations (void)
g_test_failed ();
return;
}
-#if SOUP_CHECK_VERSION (2, 99, 2)
+#if SOUP_CHECK_VERSION(2, 99, 2)
g_assert_no_error (error);
g_assert_cmpint (soup_message_get_status (msg), >=, 200);
g_assert_cmpint (soup_message_get_status (msg), <, 300);